Skip to content

Commit 9580aff

Browse files
committed
added slack message to workflow
1 parent 9716fe2 commit 9580aff

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/slack-notify.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Slack Notification of CI Status
2+
3+
on:
4+
push:
5+
branches: ["feature/raisa-cicd"]
6+
7+
jobs:
8+
slackNotification:
9+
name: Slack CI status message
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Slack Notify on Failure
13+
uses: slackapi/slack-github-action@v1.24.0
14+
env:
15+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
16+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

0 commit comments

Comments
 (0)