From c395d799b47f2e085bb13824b45b0d5d71d4d690 Mon Sep 17 00:00:00 2001 From: Ross Wolf <31489089+rw-access@users.noreply.github.com> Date: Wed, 1 Sep 2021 06:47:48 -0600 Subject: [PATCH] [CI] Notify slack on backport failure (#1468) --- .github/workflows/backport.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 0e74fbfd1..b7a5d9a3b 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -145,3 +145,10 @@ jobs: echo "Amend the commit message and push" git commit --amend -F $COMMIT_MSG_FILE git push + + - name: "Notify slack on failure" + uses: craftech-io/slack-action@v1 + with: + slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} + status: failure + if: failure()