Repository navigation
ci: add Claude Code PR review, as in the cli repo - #152
Merged
Merged
Conversation
Copies devicecloud-dev/cli's claude-code-review.yml: the code-review plugin on Opus 5.5, with explicit allowed tools, a stay-in-the-foreground prompt, and a step that fails when no review is posted. The skip rule is simpler, because this repo has no release-please or back-merge PRs. Adds a short CLAUDE.md so the review checks this repo's rules, such as SUMMARY.md setting URLs and the generated IP-addresses page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds automatic Claude Code review to every PR, using the same setup as
devicecloud-dev/cli.What's in it
.github/workflows/claude-code-review.ymlis copied from cli's workflow. It runs thecode-reviewplugin on Opus 5.5 and posts inline comments. It keeps cli's fixes from past failures:One change from cli: the skip rule. This repo has no release-please or back-merge PRs, so it only skips forks and bot-opened PRs, which can't get the token.
CLAUDE.md: the review checks changes against it. It lists the rules that break the site if missed:SUMMARY.mdchanges its URL and needs a redirect;SUMMARY.md;security/ip-addresses.mdis generated, so it must never be hand-edited.The site build excludes it, so it isn't published.
Before merging
CLAUDE_CODE_OAUTH_TOKEN. It's currently shared with selected repos only, anddocsisn't one of them.This PR won't review itself. The action only runs its workflow file once that file is on
main. Expect the review check to pass with a notice here. The first real review will be on the next PR.🤖 Generated with Claude Code