File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed
Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 1+ # Source: https://github.com/anthropics/claude-code-action/blob/main/docs/code-review.md
12name : Claude Code Review
23
34on :
45 pull_request :
56 types : [opened, synchronize, ready_for_review, reopened]
6- # Optional: Only run on specific file changes
7- # paths:
8- # - "src/**/*.ts"
9- # - "src/**/*.tsx"
10- # - "src/**/*.js"
11- # - "src/**/*.jsx"
127
138jobs :
149 claude-review :
15- # Optional: Filter by PR author
16- # if: |
17- # github.event.pull_request.user.login == 'external-contributor' ||
18- # github.event.pull_request.user.login == 'new-developer' ||
19- # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
20-
2110 runs-on : ubuntu-latest
2211 permissions :
2312 contents : read
3928 plugin_marketplaces : " https://github.com/anthropics/claude-code.git"
4029 plugins : " code-review@claude-code-plugins"
4130 prompt : " /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}"
42- # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
43- # or https://code.claude.com/docs/en/cli-reference for available options
Original file line number Diff line number Diff line change 1+ # Source: https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
12name : Claude Code
23
34on :
3940 # This is an optional setting that allows Claude to read CI results on PRs
4041 additional_permissions : |
4142 actions: read
42-
43- # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
44- # prompt: 'Update the pull request description to include a summary of changes.'
45-
46- # Optional: Add claude_args to customize behavior and configuration
47- # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
48- # or https://code.claude.com/docs/en/cli-reference for available options
49- # claude_args: '--allowed-tools Bash(gh pr:*)'
You can’t perform that action at this time.
0 commit comments