|
31 | 31 | - uses: actions/checkout@v4
|
32 | 32 |
|
33 | 33 | - name: Deploy git tag via semantic release
|
34 |
| - uses: cycjimmy/semantic-release-action@0a51e81a6baff2acad3ee88f4121c589c73d0f0e # v4.2.0 |
| 34 | + uses: cycjimmy/semantic-release-action@16ca923e6ccbb50770c415a0ccd43709a8c5f7a4 # v4.2.2 |
35 | 35 | id: semantic-release
|
36 | 36 | with:
|
37 | 37 | semantic_version: latest
|
|
46 | 46 | GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
|
47 | 47 |
|
48 | 48 | - name: Notify team of git tag being created
|
49 |
| - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 |
| 49 | + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 |
50 | 50 | if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made.
|
51 | 51 | with:
|
52 | 52 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
|
89 | 89 | # environment: production
|
90 | 90 |
|
91 | 91 | - name: Notify team of failure
|
92 |
| - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 |
| 92 | + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 |
93 | 93 | if: ${{ failure() }} # only run this if any previous step failed
|
94 | 94 | with:
|
95 | 95 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
@@ -143,7 +143,7 @@ jobs:
|
143 | 143 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
144 | 144 |
|
145 | 145 | - name: Notify team of successful deployment
|
146 |
| - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 |
| 146 | + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 |
147 | 147 | if: ${{ success() }}
|
148 | 148 | with:
|
149 | 149 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
@@ -178,7 +178,7 @@ jobs:
|
178 | 178 | SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
|
179 | 179 |
|
180 | 180 | - name: Notify team of failure
|
181 |
| - uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 |
| 181 | + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 |
182 | 182 | if: ${{ failure() }} # only run this if any previous step failed
|
183 | 183 | with:
|
184 | 184 | # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder
|
|
0 commit comments