|
41 | 41 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
42 | 42 |
|
43 | 43 | - name: Notify team of git tag being created
|
44 |
| - uses: slackapi/slack-github-action@v1.26.0 |
| 44 | + uses: slackapi/slack-github-action@v2.0.0 |
45 | 45 | if: steps.semantic-release.outputs.new_release_published == 'true'
|
46 | 46 | with:
|
47 | 47 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
|
84 | 84 | environment: production
|
85 | 85 |
|
86 | 86 | - name: Notify team of failure
|
87 |
| - uses: slackapi/slack-github-action@v1.26.0 |
| 87 | + uses: slackapi/slack-github-action@v2.0.0 |
88 | 88 | if: ${{ failure() }} # only run this if any previous step failed
|
89 | 89 | with:
|
90 | 90 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
@@ -142,7 +142,7 @@ jobs:
|
142 | 142 | IS_PRERELEASE: false # at this time, all deployments are made to `main` production branch
|
143 | 143 |
|
144 | 144 | - name: Notify team of successful deployment
|
145 |
| - uses: slackapi/slack-github-action@v1.26.0 |
| 145 | + uses: slackapi/slack-github-action@v2.0.0 |
146 | 146 | if: ${{ success() }}
|
147 | 147 | with:
|
148 | 148 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
@@ -177,7 +177,7 @@ jobs:
|
177 | 177 | SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
178 | 178 |
|
179 | 179 | - name: Notify team of failure
|
180 |
| - uses: slackapi/slack-github-action@v1.26.0 |
| 180 | + uses: slackapi/slack-github-action@v2.0.0 |
181 | 181 | if: ${{ failure() }} # only run this if any previous step failed
|
182 | 182 | with:
|
183 | 183 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
|
0 commit comments