Conversation
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
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, or 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 fix this CI failure" or "@codex address that feedback".
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| issues: read | ||
| id-token: write |
There was a problem hiding this comment.
[P1] Grant write permission so review can comment on PRs
The job tells Claude to post feedback via gh pr comment, but the workflow only requests pull-requests: read (and issues: read). The GITHUB_TOKEN generated for this job will therefore be read‑only and gh pr comment will fail with a 403, preventing any review from being published. Bump the permission to pull-requests: write so the action can actually add the comment.
Useful? React with 👍 / 👎.
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| issues: read | ||
| id-token: write | ||
| actions: read # Required for Claude to read CI results on PRs |
There was a problem hiding this comment.
[P1] Allow Claude workflow to write back to issues and PRs
This workflow is triggered by @claude mentions but only grants pull-requests: read and issues: read. Without write access the action cannot post the response comment or modify issue/PR state, so every invocation will either fail or be unable to report results. Grant at least pull-requests: write and issues: write to the job’s token so Claude can reply to the request.
Useful? React with 👍 / 👎.
|
@codex fix comments |
|
Summary
Testing
|
🤖 Installing Claude Code GitHub App
This PR adds a GitHub Actions workflow that enables Claude Code integration in our repository.
What is Claude Code?
Claude Code is an AI coding agent that can help with:
How it works
Once this PR is merged, we'll be able to interact with Claude by mentioning @claude in a pull request or issue comment.
Once the workflow is triggered, Claude will analyze the comment and surrounding context, and execute on the request in a GitHub action.
Important Notes
Security
There's more information in the Claude Code action repo.
After merging this PR, let's try mentioning @claude in a comment on any PR to get started!