chore: slack for broken links (#19156)
This commit is contained in:
parent
582bba39ad
commit
6303b559b4
16
.github/workflows/md-link-checker.yml
vendored
16
.github/workflows/md-link-checker.yml
vendored
@ -13,3 +13,19 @@ jobs:
|
||||
with:
|
||||
folder-path: "docs"
|
||||
- run: cd docs && sh ./post.sh
|
||||
sims-notify-failure:
|
||||
permissions:
|
||||
contents: none
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ failure() }}
|
||||
steps:
|
||||
- name: Notify Slack on failure
|
||||
uses: rtCamp/action-slack-notify@v2.2.1
|
||||
env:
|
||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||
SLACK_CHANNEL: sdk-sims
|
||||
SLACK_USERNAME: Broken Links
|
||||
SLACK_ICON_EMOJI: ":skull:"
|
||||
SLACK_COLOR: danger
|
||||
SLACK_MESSAGE: Links are broken in docs
|
||||
SLACK_FOOTER: ""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user