Skip to content

Commit d8f640d

Browse files
authored
ci: fix claude yml (#310)
1 parent e487a75 commit d8f640d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/claude.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,30 @@ name: Claude Code Action
33
on:
44
issue_comment:
55
types: [created, edited]
6-
pull_request_target:
7-
types: [opened, synchronize, reopened, edited]
8-
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned, edited]
910
jobs:
1011
claude:
1112
runs-on: ubuntu-latest
1213
permissions:
1314
contents: write
1415
pull-requests: write
1516
issues: write
16-
17+
1718
steps:
1819
- name: Install bun
1920
run: curl -fsSL https://bun.sh/install | bash
2021
- uses: actions/checkout@v3
2122
with:
22-
fetch-depth: 20
23-
23+
fetch-depth: 20
24+
2425
- name: Claude Code Action
2526
uses: anthropics/claude-code-action@v0.0.31
2627
with:
2728
github_token: ${{ secrets.MY_GITHUB_TOKEN }}
2829
anthropic_api_key: ${{secrets.ANTHROPIC_API_KEY}}
2930
claude_env: |
3031
DEBUG: true
31-
ANTHROPIC_BASE_URL: ${{secrets.ANTHROPIC_BASE_URL}}
32+
ANTHROPIC_BASE_URL: ${{secrets.ANTHROPIC_BASE_URL}}

0 commit comments

Comments
 (0)