Skip to content

ci(pr-review): migrate to claude-code-action v2 (retire raw-API script)#56

Merged
shawnmuggle merged 1 commit into
masterfrom
ci/deploy-review-v2
Jul 20, 2026
Merged

ci(pr-review): migrate to claude-code-action v2 (retire raw-API script)#56
shawnmuggle merged 1 commit into
masterfrom
ci/deploy-review-v2

Conversation

@shawnmuggle

Copy link
Copy Markdown
Member

Replaces raw-API ai_pr_review.py (429 on subscription token) with official claude-code-action v2: subscription OAuth, no-network allowlist, opus-4-8, structured verdict + auto-approve on zero P0. Removes old ai-pr-review.yml. Verified on rozo-rewards-miniapp + rozo-invoice.

🤖 Generated with Claude Code

Replace the raw-API ai_pr_review.py workflow (429 on subscription token) with
official anthropics/claude-code-action v2: subscription OAuth, no-network
allowlist, opus-4-8, structured verdict + deterministic auto-approve on zero P0.
Verified on rozo-rewards-miniapp + rozo-invoice.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
intent-example Ready Ready Preview, Comment Jul 20, 2026 3:54pm

Request Review

@shawnmuggle
shawnmuggle merged commit 69300c6 into master Jul 20, 2026
1 of 2 checks passed
@shawnmuggle
shawnmuggle deleted the ci/deploy-review-v2 branch July 20, 2026 15:51

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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.

Reviewed commit: a40de58a93

ℹ️ 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".

Comment on lines +58 to +61
- name: Checkout PR head (read-only; never executed with secrets)
uses: actions/checkout@v4
with:
fetch-depth: 1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Disable checkout credential persistence

For same-repo PRs from trusted authors, this checkout runs with the workflow's write-scoped GITHUB_TOKEN, and actions/checkout persists that token in local git config unless persist-credentials: false is set. The next step gives Claude Read plus Bash(gh pr comment:*), so a prompt-injected diff can have the agent read the persisted credential and publish it in a PR comment; no later step needs authenticated git, so disable persistence here before handing the workspace to the model.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant