-
Notifications
You must be signed in to change notification settings - Fork 1
chore: Make claude review update a single comment #255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
710dae6 to
eeb8890
Compare
Pull request was converted to draft
eeb8890 to
de68d6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR modernizes the Claude Code review workflow to use sticky comments (updating a single comment instead of creating new ones on each push) and enables Claude to create commits for implementation requests. The changes update both automated PR reviews and on-demand Claude assistance, while adding comprehensive documentation to the README.
Key changes:
- Enable sticky comment behavior in automated code reviews to reduce PR comment clutter
- Grant write permissions and full git history access to allow Claude to create commits when requested
- Add detailed "AI Code Review with Claude" documentation section with usage examples
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/claude-code-review.yml |
Enables sticky comments, adds actions:read permission, removes manual comment tool, and upgrades permissions from read to write for PR/issue commenting |
.github/workflows/claude.yml |
Upgrades permissions to write for contents/PRs/issues, changes fetch-depth to 0 for full git history, and aligns comments with permission changes |
README.md |
Adds comprehensive "Contributing" section with Claude Code integration documentation, usage examples, and command reference table |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Add author_association checks to prevent untrusted users from triggering @claude with write permissions. Only OWNER, MEMBER, and COLLABORATOR can now invoke the on-demand Claude workflow.
496906d to
6507ef6
Compare
…review chore: Make claude review update a single comment
Description
use_sticky_commentin Claude review workflow to update the same comment instead of creating new ones on each pushpull-requests: readtowritefor comment editingissues: readtowritefor sticky comment featuregh pr commentinstruction and tool from workflow (handled automatically by sticky comment)additional_permissions: "actions:read"input to let Claude read CI resultsclaude.ymlto allow Claude to create commits on implementation requests:contents,pull-requests,issuespermissions towritefetch-depthto0for full git historyREADME.mdwith usage examplesPreview
N/A - workflow and docs changes.
QA Notes
@claudemention to verify it can create commits when requested.