diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index 580d0512..04ec6b8e 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -38,7 +38,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Notify team of git tag being created - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made. with: # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder @@ -81,7 +81,7 @@ jobs: environment: production - name: Notify team of failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} # only run this if any previous step failed with: # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder @@ -135,7 +135,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Notify team of successful deployment - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ success() }} with: # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder @@ -170,7 +170,7 @@ jobs: SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK - name: Notify team of failure - uses: slackapi/slack-github-action@v1.26.0 + uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} # only run this if any previous step failed with: # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder