diff --git a/.github/workflows/image-arm.yaml b/.github/workflows/image-arm.yaml index 54780c71d..890fb8de6 100644 --- a/.github/workflows/image-arm.yaml +++ b/.github/workflows/image-arm.yaml @@ -250,7 +250,7 @@ jobs: run: echo "COMMIT_MSG=$(git log -1 --pretty=format:%s)" >> $GITHUB_ENV - name: notify if failure if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} && failure() - uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 1e45fef64..ef8e6aab9 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -462,7 +462,7 @@ jobs: run: echo "COMMIT_MSG=$(git log -1 --pretty=format:%s)" >> $GITHUB_ENV - name: notify if failure if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} && failure() - uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK