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 25, 2024
1 parent c3ec503 commit 2de2763
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 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
run: node .github/scripts/validate-docs-links.js
id: tests
run: node .github/scripts/validate-docs-links.js >> $GITHUB_OUTPUT

- name: Notify Slack on failure
uses: act10ns/[email protected]
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 >
${{ join(steps.tests.outputs.*, '\n') }}

0 comments on commit 2de2763

Please sign in to comment.