Skip to content

Commit bfb11e2

Browse files
committed
added job failure expression to workflow
1 parent 028144b commit bfb11e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/slack-notify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
slackNotification:
1111
name: Slack CI status message
1212
runs-on: ubuntu-latest
13-
if: 'failure'
1413
steps:
1514
- name: Slack Notify on Failure
15+
if: ${{ failure() }}
1616
id: slack
1717
uses: slackapi/slack-github-action@v1.24.0
1818
with:

0 commit comments

Comments
 (0)