Add claude GitHub actions 1778466254012 - #2142
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ffecd43653
ℹ️ 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".
| contents: read | ||
| pull-requests: read | ||
| issues: read |
There was a problem hiding this comment.
Grant write scopes to Claude workflow token
This workflow is meant to let @claude respond on issues/PRs and potentially propose code changes, but contents, pull-requests, and issues are all set to read. With a read-only workflow token, Claude can inspect context but write operations (posting replies, updating threads, branch/PR updates) will fail with permission errors. These scopes should be write for this action mode.
Useful? React with 👍 / 👎.
| id: claude-review | ||
| uses: anthropics/claude-code-action@v1 | ||
| with: | ||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} |
There was a problem hiding this comment.
Guard code-review job when fork PR secrets are unavailable
This job runs for all pull_request events but authenticates only via ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}. For PRs from forks (including Dependabot-style fork restrictions), repository secrets are not provided, so this input resolves to an empty string and the Claude action cannot authenticate, causing consistent failures on those PRs. Add a condition to skip fork PRs or another auth/event strategy that works without repository secrets.
Useful? React with 👍 / 👎.
CI Coverage Report
Coverage artifact was not available for this run. PR Test PolicyThis PR changes production code in |
- Restore workflow files to match release/v3.8.0 (already merged in diegosouzapw#2142) - Restore package-lock.json from release branch - Fix trailing space in Brazilian WhatsApp group URL
* "Claude PR Assistant workflow" * "Claude Code Review workflow"
* "Claude PR Assistant workflow" * "Claude Code Review workflow"
Summary
Related Issues
Validation
npm run lintnpm run test:unitnpm run test:coverage>= 60%for statements, lines, functions, and branchesTests Added Or Updated
Coverage Notes
src/,open-sse/,electron/, orbin/, explain which tests cover the change.Reviewer Notes