Skip to content

feat(codegen): struct/list containers — TASK-29 Phase B (Tasks 1–2 of 4) #13

feat(codegen): struct/list containers — TASK-29 Phase B (Tasks 1–2 of 4)

feat(codegen): struct/list containers — TASK-29 Phase B (Tasks 1–2 of 4) #13

Workflow file for this run

name: Claude PR review
on:
pull_request:
types: [opened, synchronize, reopened]
# One review per PR — a new push cancels the in-flight run instead of stacking.
concurrency:
group: claude-review-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
id-token: write # claude-code-action fetches an OIDC token for auth
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0 # review skill diffs against the merge-base
- uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
allowed_bots: claude-agent-ahrzb # agents push feature branches as this App bot
plugin_marketplaces: https://github.com/anthropics/claude-plugins-official.git
plugins: superpowers@claude-plugins-official
# Grant the comment tools — without these the agent has no way to
# write anything back to the PR (this was the "nothing gets posted" bug).
claude_args: >-
--model claude-sonnet-5 --max-turns 30
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"
track_progress: true # tracking comment + PR context
prompt: |
Review this pull request. Use the superpowers:requesting-code-review
skill for the review methodology, diffing the PR branch against
${{ github.event.pull_request.base.ref }}.
Then POST the review to GitHub — a review that isn't posted is useless:
- inline comments (mcp__github_inline_comment__create_inline_comment)
for specific, line-level issues
- one top-level PR comment (`gh pr comment`) for the overall summary
and assessment
Report only what you verified in the diff. No speculative findings, no
style nits. If nothing needs changing, post a one-line top-level
comment saying so.