We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86d3a02 + 2b610a7 commit 182ae09Copy full SHA for 182ae09
.github/workflows/claude-code-review.yml
@@ -1,14 +1,12 @@
1
name: Claude Code Review
2
3
on:
4
- pull_request:
5
- 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"
+ workflow_dispatch:
+ inputs:
+ pr_number:
+ description: 'Pull Request Number'
+ required: true
+ type: string
12
13
jobs:
14
claude-review:
@@ -38,7 +36,7 @@ jobs:
38
36
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
39
37
prompt: |
40
REPO: ${{ github.repository }}
41
- PR NUMBER: ${{ github.event.pull_request.number }}
+ PR NUMBER: ${{ github.event.inputs.pr_number }}
42
43
Please review this pull request and provide feedback on:
44
- Code quality and best practices
0 commit comments