Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/doc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ jobs:
rustup update --no-self-update
cargo test --doc --release -- --test-threads=1
working-directory: docs

- name: Notify Slack on Failure
if: failure()
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
text: '❌ Documentation tests failed on ${{ github.ref }}'
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
Copy link

Copilot AI Aug 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding validation to ensure SLACK_WEBHOOK_URL secret exists before attempting to use it. The workflow will fail silently if the secret is not configured.

Copilot uses AI. Check for mistakes.
fields: repo,message,commit,author,action,eventName,ref,workflow