Skip to content

Commit a8c97cb

Browse files
committed
Update notifyCI.yaml
1 parent 7089f2f commit a8c97cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/notifyCI.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
success_notifier:
11-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
11+
if: success()
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Send success notification on Slack
@@ -22,7 +22,7 @@ jobs:
2222
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
2323

2424
failure_notifier:
25-
if: ${{ github.event.workflow_run.conclusion != 'success' }}
25+
if: failure()
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Send failure notification on Slack

0 commit comments

Comments
 (0)