Skip to content

Commit 59c8b86

Browse files
committed
added slack message to workflow
1 parent 9580aff commit 59c8b86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/slack-notify.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Slack Notify on Failure
13+
id: slack
1314
uses: slackapi/slack-github-action@v1.24.0
15+
with:
16+
status: ${{ job.status }}
1417
env:
1518
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
1619
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 commit comments

Comments
 (0)