We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7089f2f commit a8c97cbCopy full SHA for a8c97cb
.github/workflows/notifyCI.yaml
@@ -8,7 +8,7 @@ on:
8
9
jobs:
10
success_notifier:
11
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
+ if: success()
12
runs-on: ubuntu-latest
13
steps:
14
- name: Send success notification on Slack
@@ -22,7 +22,7 @@ jobs:
22
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
23
24
failure_notifier:
25
- if: ${{ github.event.workflow_run.conclusion != 'success' }}
+ if: failure()
26
27
28
- name: Send failure notification on Slack
0 commit comments