Skip to content

Commit a0c81d7

Browse files
committed
Updates
1 parent ecddbcd commit a0c81d7

File tree

3 files changed

+6
-111
lines changed

3 files changed

+6
-111
lines changed

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

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/claude.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
types: [created]
66
pull_request_review_comment:
77
types: [created]
8-
issues:
9-
types: [opened, assigned]
108
pull_request_review:
119
types: [submitted]
10+
issues:
11+
types: [opened, assigned]
1212

1313
jobs:
1414
claude:
15+
# Run only when a comment or PR/issue body contains @claude
1516
if: |
1617
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
1718
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
@@ -23,10 +24,11 @@ jobs:
2324
pull-requests: read
2425
issues: read
2526
id-token: write
26-
actions: read # Required for Claude to read CI results on PRs
27+
actions: read
28+
2729
steps:
2830
- name: Checkout repository
29-
uses: actions/checkout@v6
31+
uses: actions/checkout@v4
3032
with:
3133
fetch-depth: 1
3234

@@ -35,16 +37,3 @@ jobs:
3537
uses: anthropics/claude-code-action@v1
3638
with:
3739
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
39-
# This is an optional setting that allows Claude to read CI results on PRs
40-
additional_permissions: |
41-
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:*)'
50-

.github/workflows/codeql.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)