Skip to content

Commit 56a6b35

Browse files
Ajit Pratap Singhclaude
authored andcommitted
fix(ci): scope Claude review to code files and enable sticky comments
- Add paths filter so review only triggers on Go/TS/JS/go.mod changes - Enable use_sticky_comment to update existing comment on each push Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fde7304 commit 56a6b35

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ name: Claude Code Review
33
on:
44
pull_request:
55
types: [opened, synchronize]
6-
# Optional: Only run on specific file changes
7-
# paths:
8-
# - "src/**/*.ts"
9-
# - "src/**/*.tsx"
10-
# - "src/**/*.js"
11-
# - "src/**/*.jsx"
6+
paths:
7+
- "**/*.go"
8+
- "**/*.ts"
9+
- "**/*.tsx"
10+
- "**/*.js"
11+
- "**/*.jsx"
12+
- "go.mod"
13+
- "go.sum"
1214

1315
jobs:
1416
claude-review:
@@ -51,8 +53,7 @@ jobs:
5153
5254
Be constructive and helpful in your feedback.
5355
54-
# Optional: Use sticky comments to make Claude reuse the same comment on subsequent pushes to the same PR
55-
# use_sticky_comment: true
56+
use_sticky_comment: true
5657

5758
# Optional: Customize review based on file types
5859
# direct_prompt: |

0 commit comments

Comments
 (0)