Skip to content

Commit 00b5e9b

Browse files
committed
update
1 parent 5b1dbf2 commit 00b5e9b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test-update.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- slack_notify_on_action_updater
78
workflow_dispatch:
89

910
permissions:
@@ -27,3 +28,15 @@ jobs:
2728
GH_TOKEN: ${{ secrets.ARDUINOBOT_TOKEN }}
2829
run: |
2930
go tool task test:update
31+
32+
- name: Slack notification of unexpected failure
33+
if: ${{ failure() }}
34+
uses: rtCamp/action-slack-notify@v2
35+
env:
36+
SLACK_WEBHOOK: ${{ secrets.TEAM_TOOLING_CHANNEL_SLACK_WEBHOOK }}
37+
SLACK_MESSAGE: |
38+
:warning::warning::warning::warning:
39+
WARNING: ${{ github.repository }} ${{ github.workflow }} workflow run had an unexpected failure!!!
40+
:warning::warning::warning::warning:
41+
SLACK_COLOR: danger
42+
MSG_MINIMAL: true

0 commit comments

Comments
 (0)