Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit a545026

Browse files
author
[Partner] Alexander Sokolov
committed
slack notification added
1 parent 0fc41d0 commit a545026

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@ jobs:
1919

2020
- name: Build
2121
run: go build -v ./...
22+
23+
- name: Slack notification
24+
uses: ravsamhq/notify-slack-action@v2
25+
if: always()
26+
with:
27+
status: ${{ job.status }}
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
notification_title: "{workflow} has {status_message}"
30+
message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
31+
footer: "Linked Repo <{repo_url}|{repo}> | <{workflow_url}|View Workflow>"
32+
env:
33+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)