From bfb11e2854271f1e56df8eb081b419fd4a4259b3 Mon Sep 17 00:00:00 2001 From: fraisai Date: Mon, 27 Nov 2023 21:23:32 -0500 Subject: [PATCH] added job failure expression to workflow --- .github/workflows/slack-notify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slack-notify.yml b/.github/workflows/slack-notify.yml index 40dd8a1..b2bf69e 100644 --- a/.github/workflows/slack-notify.yml +++ b/.github/workflows/slack-notify.yml @@ -10,9 +10,9 @@ jobs: slackNotification: name: Slack CI status message runs-on: ubuntu-latest - if: 'failure' steps: - name: Slack Notify on Failure + if: ${{ failure() }} id: slack uses: slackapi/slack-github-action@v1.24.0 with: