Skip to content

Commit

Permalink
ci: Move docs check notification to #alerts-build (no-changelog)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Jan 24, 2024
1 parent ed7d6b7 commit a84e0ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/check-documentation-urls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@ jobs:
- run: npm install --prefix=.github/scripts --no-package-lock

- name: Test URLs
id: tests
run: node .github/scripts/validate-docs-links.js

- name: Notify Slack on failure
uses: act10ns/slack@v2.0.0
if: failure()
with:
status: ${{ job.status }}
channel: '#mission-docs'
channel: '#alerts-build'
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
message: Documentation URLs check failed (${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
message: |
<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}| Documentation URLs check failed >
${{ steps.tests.outputs }}

0 comments on commit a84e0ab

Please sign in to comment.