Skip to content

Commit

Permalink
chore: slack for broken links (#19156)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored Jan 22, 2024
1 parent 582bba3 commit 6303b55
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/md-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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: ""

0 comments on commit 6303b55

Please sign in to comment.