diff --git a/.github/workflows/readonly.yml b/.github/workflows/readonly.yml index 0de2160800..9e88f4e66b 100644 --- a/.github/workflows/readonly.yml +++ b/.github/workflows/readonly.yml @@ -213,7 +213,7 @@ jobs: - block-pipeline steps: - name: Send message to Slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 if: ${{ !contains(needs.*.result, 'failure') }} with: channel-id: probation-integration-notifications @@ -263,7 +263,7 @@ jobs: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - name: Send failure message to Slack - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 if: ${{ contains(needs.*.result, 'failure') }} with: channel-id: probation-integration-notifications diff --git a/.github/workflows/reminders.yml b/.github/workflows/reminders.yml index 89bb598ace..eb6086db84 100644 --- a/.github/workflows/reminders.yml +++ b/.github/workflows/reminders.yml @@ -63,7 +63,7 @@ jobs: - name: Send message to Slack if: steps.runs.outputs.pending != '[]' - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 with: channel-id: probation-integration-notifications payload: ${{ steps.transform.outputs.result }}