ci: add Claude Code Review workflow for docs PRs#2
Conversation
The DOS.AI code repo auto-reviews every PR via claude-code-review, but this docs repo had no PR reviewer - docs PRs (e.g. the partner-API update #1) shipped unreviewed. Mirrors that workflow, retuned for a documentation repo: - Reviews for factual accuracy (base URLs, endpoint paths, auth schemes, code samples vs the real product), broken links, cross-page consistency, house style (ASCII hyphens only - flag em/en-dashes), and completeness. - Same org secret CLAUDE_CODE_OAUTH_TOKEN, same anthropics/claude-code-action@v1, same read-only permissions + gh-comment allowed-tools. Runs on pull_request opened/synchronize. No build step (Markdown repo).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Author hand-off (for DOS.AI-Docs maintainers)Authored by JOY's Claude Code session - handed to the team to review + merge (I won't self-merge). YAML validated locally. One thing to confirm before/at merge: the workflow uses Meta note: once this merges, it can't retro-review the currently-open docs PR #1 (workflows only run on PRs opened/synced after they exist on the base branch). I already fact-checked #1 manually against the gateway source. |
Summary
The DOS.AI code repo auto-reviews every PR (
claude-code-review), but this docs repo had no PR reviewer - docs PRs (e.g. the partner-API update #1) ship unreviewed. This mirrors that workflow, retuned for a Markdown docs repo.What it reviews
Details
anthropics/claude-code-action@v1, org secretCLAUDE_CODE_OAUTH_TOKEN(same as the code repo).gh pr commentallowed-tools; review-only (does not edit docs).pull_requestopened/synchronize. No build step.Note
This would have caught the stale
app.dosafe.io/apibase URL + the non-existent/detect-audioendpoint in PR #1 (which I fixed manually after fact-checking against the gateway source). Going forward, docs PRs get the same automated gate as code PRs.Test plan
CLAUDE_CODE_OAUTH_TOKENis available to this repo (it's used by the code repo's workflow)🤖 Generated with Claude Code