Skip to content

Commit 529bc92

Browse files
committed
address review: add source headers, remove template comments
1 parent b78bc08 commit 529bc92

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed
Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
1+
# Source: https://github.com/anthropics/claude-code-action/blob/main/docs/code-review.md
12
name: Claude Code Review
23

34
on:
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

138
jobs:
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
@@ -39,5 +28,3 @@ jobs:
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

.github/workflows/claude.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Source: https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
12
name: Claude Code
23

34
on:
@@ -39,11 +40,3 @@ jobs:
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:*)'

0 commit comments

Comments
 (0)