The DocsCanary GitHub Action detects affected documentation on every pull request and posts a rich summary comment — so your team can update the docs before the code merges.
Add the action to your workflow file, point it at your API key, and DocsCanary takes care of the rest — automatically on every PR.
A developer opens a pull request. The action triggers automatically.
DocsCanary analyses the diff and identifies documentation pages that may need updating.
A rich summary is posted inline on the PR listing every affected page with severity.
The team reviews the comment, updates docs, and merges with confidence.
Add the action to .github/workflows/docscanary.yml. No additional configuration is needed — DocsCanary discovers your repositories and documentation automatically from your connected integrations.
Connects to Zendesk, Intercom, Notion, GitBook, and custom URLs.
Block merges on HIGH severity, warn on MEDIUM, or run in report-only mode.
Each comment includes page titles, URLs, severity ratings, and a link to the full DocsCanary report.
Integrates with GitHub branch protection rules — require docs review before merging.
name: DocsCanary Checkon: pull_requestjobs:docs-check:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- name: Check for docs driftid: docs-checkuses: docscanary/check-action@v1with:api-key: ${{ secrets.DOCSCANARY_API_KEY }}- name: Comment on PRif: steps.docs-check.outputs.affected-pages > 0uses: docscanary/check-action/comment@v1with:api-key: ${{ secrets.DOCSCANARY_API_KEY }}affected-pages: ${{ steps.docs-check.outputs.affected-pages }}report-url: ${{ steps.docs-check.outputs.report-url }}
DocsCanary posts a structured comment directly on the pull request — no context-switching, no extra tools.
DocsCanary detected 3 documentation pages that may be affected by this pull request. Review and update before merging.
REST API — Authentication
/docs/api/auth
SDK Quick Start
/docs/sdk/quickstart
Webhook Events Reference
/docs/webhooks
Powered by DocsCanary
Severity levels
HIGH / MEDIUM / LOW
Pages detected
Per-PR, real-time
Status check
Blocks or warns
Runs automatically on pull_request events. No manual triggers or configuration needed per repository.
Posts a rich, structured comment with each affected page, its URL, impact severity, and a direct link to the DocsCanary report.
Use the docs-check status check with GitHub branch protection to require docs review before any PR can merge.
Exposes affected-pages count and report-url as step outputs, so you can compose custom workflows on top.
Optionally fail the check if the org health score drops below a configurable threshold — keep your docs above your quality bar.
Generate a scoped API key from your dashboard and store it as a GitHub Actions secret — never exposed in logs.
The DocsCanary GitHub Action is in private beta. Drop your email below and we will send you early access as soon as it is ready.
No spam. Unsubscribe any time. We will only email you about early access.