Skip to content

chore(deps-dev): Bump the dev-dependencies group across 1 directory with 5 updates #1442

chore(deps-dev): Bump the dev-dependencies group across 1 directory with 5 updates

chore(deps-dev): Bump the dev-dependencies group across 1 directory with 5 updates #1442

Workflow file for this run

# yamllint disable rule:line-length
name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened]
pull_request_review:
types: [submitted]
# Group by issue/PR number AND actor to prevent bot comments from canceling user runs
# Bot runs will be in separate groups and get skipped by job-level `if` conditions
concurrency:
group: >-
${{ github.workflow }}-${{
github.event.pull_request.number ||
github.event.review.pull_request.number ||
github.event.issue.number ||
github.ref
}}-${{ github.actor }}
cancel-in-progress: true
jobs:
claude:
# Only allow repo collaborators (OWNER, MEMBER, COLLABORATOR) to trigger @claude
# Exclude bots to prevent Claude's own comments from triggering/canceling runs
if: |
github.actor != 'dependabot[bot]' &&
github.actor != 'claude[bot]' &&
(
(github.event_name == 'issue_comment' &&
contains(github.event.comment.body, '@claude') &&
contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) ||
(github.event_name == 'pull_request_review_comment' &&
contains(github.event.comment.body, '@claude') &&
contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) ||
(github.event_name == 'pull_request_review' &&
contains(github.event.review.body, '@claude') &&
contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.review.author_association)) ||
(github.event_name == 'issues' &&
(contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')) &&
contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.issue.author_association))
)
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write # Write access for pushing branches
pull-requests: write
issues: write
actions: read # Required by claude-code-action to access workflow run data
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 20
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@88c168b39e7e64da0286d812b6e9fbebb6708185 # v1.0.82
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
use_commit_signing: true
track_progress: true
additional_permissions: |
actions: read
claude_args: |
--model claude-opus-4-6
--allowedTools "Read,Edit,Write,Glob,Grep,Task,Bash(gh pr:*),Bash(gh issue:*),Bash(gh run:*),Bash(gh release:*),Bash(npm:*),Bash(npx:*),mcp__github_inline_comment__create_inline_comment,mcp__github_ci__get_ci_status,mcp__github_ci__download_job_log"