Skip to content

chore: update dependencies 2026-05-19 #34

chore: update dependencies 2026-05-19

chore: update dependencies 2026-05-19 #34

Workflow file for this run

name: Code review
on:
pull_request:
branches: ["main"]
types: [opened, synchronize, ready_for_review, reopened]
permissions:
contents: read
pull-requests: write
issues: write
id-token: write
concurrency:
group: code-review-${{ github.ref }}
cancel-in-progress: true
jobs:
code-review:
# Skip drafts.
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run code review
uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
allowed_bots: "claude[bot]"
prompt: |
Review PR #${{ github.event.pull_request.number }} in ${{ github.repository }}.
Get the diff: gh pr diff ${{ github.event.pull_request.number }}
Read and follow the instructions in .github/prompts/code-review.md
claude_args: >-
--allowedTools Read,Glob,Grep,Skill,Task,Bash(gh:*),mcp__github_inline_comment__*
env:
# Required by gh CLI to fetch PR diffs and post review comments.
GH_TOKEN: ${{ github.token }}