diff --git a/.github/workflows/build-sample-apps.yml b/.github/workflows/build-sample-apps.yml index 1389e8c7..62f68416 100644 --- a/.github/workflows/build-sample-apps.yml +++ b/.github/workflows/build-sample-apps.yml @@ -205,7 +205,7 @@ jobs: - name: Update sample builds PR comment with build information if: ${{ github.event_name == 'pull_request' }} - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ needs.update-pr-comment.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} @@ -216,7 +216,7 @@ jobs: - name: Update sample builds PR comment with build failure message if: ${{ github.event_name == 'pull_request' && failure() }} - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ needs.update-pr-comment.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} diff --git a/.github/workflows/deploy-npm.yml b/.github/workflows/deploy-npm.yml index a4f6cc3f..3dd7337b 100644 --- a/.github/workflows/deploy-npm.yml +++ b/.github/workflows/deploy-npm.yml @@ -41,7 +41,7 @@ jobs: IS_PRERELEASE: false # at this time, all deployments are made to `main` production branch - 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 @@ -76,7 +76,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 diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index 6916c975..784884df 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -41,7 +41,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' with: # Use block kit to format the Slack message: https://app.slack.com/block-kit-builder @@ -84,7 +84,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 @@ -142,7 +142,7 @@ jobs: IS_PRERELEASE: false # at this time, all deployments are made to `main` production branch - 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 @@ -177,7 +177,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