File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ jobs:
1212 claude-review :
1313 if : |
1414 (github.event_name == 'pull_request') ||
15- (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
16- (github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'claude'))
15+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude'))
1716 runs-on : ubuntu-latest
1817 permissions :
1918 pull-requests : write
2019 contents : write
2120 issues : write
21+ id-token : write
2222 steps :
2323 - uses : actions/checkout@v4
2424 with :
2727 - uses : anthropics/claude-code-action@v1
2828 with :
2929 anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
30+ github_token : ${{ secrets.GITHUB_TOKEN }}
3031
3132 claude-issue-to-pr :
3233 if : |
3738 pull-requests : write
3839 contents : write
3940 issues : write
41+ id-token : write
4042 steps :
4143 - uses : actions/checkout@v4
4244 with :
4547 - uses : anthropics/claude-code-action@v1
4648 with :
4749 anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
48- use_bedrock : false
49- direct_prompt : |
50- Read issue #${{ github.event.issue.number }} and implement the requested changes.
51- Create a well-structured commit with clear message.
50+ github_token : ${{ secrets.GITHUB_TOKEN }}
5251
You can’t perform that action at this time.
0 commit comments