Skip to content

deps(npm): bump the npm-minor group in /app with 2 updates #5339

deps(npm): bump the npm-minor group in /app with 2 updates

deps(npm): bump the npm-minor group in /app with 2 updates #5339

Workflow file for this run

name: "Util: Claude Code"
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]
jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude'))
runs-on: ubuntu-latest
permissions:
contents: write # Allow commits
pull-requests: write # Allow PR creation
issues: write # Allow issue comments
id-token: write
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0 # Full history for better context
- name: Run Claude Code
id: claude
continue-on-error: true
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
claude_args: "--model opus"
# This is an optional setting that allows Claude to read CI results on PRs
additional_permissions: |
actions: read
- name: Retry Claude (on failure)
if: steps.claude.outcome == 'failure'
id: claude_retry
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
claude_args: "--model opus"
additional_permissions: |
actions: read