Repository navigation
Make the org Claude review post its findings - #6
Merged
Merged
Conversation
The code-review plugin's command only posts with --comment. Without it, it stops after printing a summary to the hidden job log, so no PR in the org ever got a review. Also pass the command's tools explicitly, as the action's own review example does, and turn on show_full_output for now to see why runs end within seconds. 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.
No PR in the org has ever received a Claude Code Review comment. There are two reasons.
1. The command never posts without
--comment. The prompt runs/code-review:code-review <repo>/pull/<n>. The plugin's command (code-review.md, step 7) says:So every run printed its summary to the job log, which the action hides, and the check turned green.
2. Runs end within seconds. uw-v4#373 ran 4 turns in 8.6 s, and novaling#23 ran 2 turns in 5.6 s. A real review runs several agents for minutes. The likely cause is the command's step 1, a Haiku check that skips closed, draft, automated or trivial PRs. One guess is that it treats PRs ending in "Generated with Claude Code" as automated. The transcript is hidden, so this isn't confirmed.
Changes
--commentto the prompt.claude_args --allowedTools, as the action's PR review example does.show_full_output: truetemporarily, to see why runs stop.CLAUDE_CODE_OAUTH_TOKENis visible to private repos only, and public repos skip the review step. So these logs are only readable by org members. Remove it once reviews post as expected.Once reviews actually run, each one uses noticeably more of the subscription than the current few-second runs. They still post at most once per PR, because the command skips PRs that Claude has already commented on.
🤖 Generated with Claude Code