We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b1dbf2 commit 00b5e9bCopy full SHA for 00b5e9b
.github/workflows/test-update.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
branches:
6
- main
7
+ - slack_notify_on_action_updater
8
workflow_dispatch:
9
10
permissions:
@@ -27,3 +28,15 @@ jobs:
27
28
GH_TOKEN: ${{ secrets.ARDUINOBOT_TOKEN }}
29
run: |
30
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
41
+ SLACK_COLOR: danger
42
+ MSG_MINIMAL: true
0 commit comments