You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-07-02 23:02:27 +03:00
Merge pull request #35 from per1234/slack
Post notification to Slack in the event of an unexpected workflow failure
This commit is contained in:
11
.github/workflows/manage-prs.yml
vendored
11
.github/workflows/manage-prs.yml
vendored
@ -513,3 +513,14 @@ jobs:
|
|||||||
This error is unrelated to the content of your pull request.
|
This error is unrelated to the content of your pull request.
|
||||||
|
|
||||||
A maintainer has been notified and will investigate as soon as possible.
|
A maintainer has been notified and will investigate as soon as possible.
|
||||||
|
|
||||||
|
- name: Slack notification of unexpected failure
|
||||||
|
uses: rtCamp/action-slack-notify@v2
|
||||||
|
env:
|
||||||
|
SLACK_WEBHOOK: ${{ secrets.TEAM_TOOLING_CHANNEL_SLACK_WEBHOOK }}
|
||||||
|
SLACK_MESSAGE: |
|
||||||
|
:warning::warning::warning::warning:
|
||||||
|
WARNING: ${{ github.repository }} ${{ github.workflow }} workflow run had an unexpected failure!!!
|
||||||
|
:warning::warning::warning::warning:
|
||||||
|
SLACK_COLOR: danger
|
||||||
|
MSG_MINIMAL: true
|
||||||
|
Reference in New Issue
Block a user