diff --git a/.github/workflows/preflight.yml b/.github/workflows/preflight.yml index bc4285864f..8be1452ed8 100644 --- a/.github/workflows/preflight.yml +++ b/.github/workflows/preflight.yml @@ -71,7 +71,7 @@ jobs: ./scripts/preflight.sh -r "${{ github.ref }}" -g "${{ matrix.group }}" -o $GITHUB_OUTPUT - name: Post failure to slack if: ${{ github.ref == 'refs/heads/master' && failure() }} - uses: slackapi/slack-github-action@fc46ded2fc4d7f11bfa62864526f920cf1a1167d + uses: slackapi/slack-github-action@0d95c9a7becc1e6e297d76df9bc735c44f4cbcbc with: webhook: ${{ secrets.PREFLIGHT_SLACK_WEBHOOK_URL }} webhook-type: incoming-webhook diff --git a/.github/workflows/preflight_cleanup.yml b/.github/workflows/preflight_cleanup.yml index f79d7c01a0..18e4628fb7 100644 --- a/.github/workflows/preflight_cleanup.yml +++ b/.github/workflows/preflight_cleanup.yml @@ -33,7 +33,7 @@ jobs: go run ./scripts/clean-up-preflight-apps - name: Post failure to slack if: ${{ github.ref == 'refs/heads/master' && failure() }} - uses: slackapi/slack-github-action@fc46ded2fc4d7f11bfa62864526f920cf1a1167d + uses: slackapi/slack-github-action@0d95c9a7becc1e6e297d76df9bc735c44f4cbcbc with: webhook: ${{ secrets.PREFLIGHT_SLACK_WEBHOOK_URL }} webhook-type: incoming-webhook