Skip to content

Commit

Permalink
chore: upgrade slack action to v2 (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir authored Jan 21, 2025
1 parent 4b9e762 commit e67d009
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const githubActionPinnedVersions = {
"hashicorp/setup-copywrite": "32638da2d4e81d56a0764aa1547882fc4d209636", // v1.1.3
"peter-evans/create-pull-request": "67ccf781d68cd99b580ae25a5c18a1cc84ffff1f", // v7.0.6
"pr-mpt/actions-semver-aliases": "01b2241f545f14efe72edaa2fcec49705dbe910d", // v2.0.0
"slackapi/slack-github-action": "37ebaef184d7626c5f204ab8d3baff4262dd30f0", // v1.27.0
"slackapi/slack-github-action": "485a9d42d3a73031f12ec201c457e2162c45d02d", // v2.0.0
};

const inputs = {
Expand Down
3 changes: 2 additions & 1 deletion projenrc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,9 @@ import * as core from "@actions/core";`,
{
name: "Notify Slack via a custom Workflow webhook",
uses: "slackapi/slack-github-action",
env: { SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" },
with: {
webhook: "${{ secrets.SLACK_WEBHOOK_URL }}",
"webhook-type": "webhook-trigger",
payload: JSON.stringify({
repository: name,
version: "${{ steps.git_label.outputs.version }}",
Expand Down

0 comments on commit e67d009

Please sign in to comment.