Skip to content

Commit 553ed66

Browse files
committed
Update Claude Permissions
1 parent 3141b67 commit 553ed66

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/claude.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
2020
runs-on: ubuntu-latest
2121
permissions:
22-
contents: read
23-
pull-requests: read
24-
issues: read
22+
contents: write
23+
pull-requests: write
24+
issues: write
2525
id-token: write
2626
actions: read # Required for Claude to read CI results on PRs
2727
steps:
@@ -47,10 +47,10 @@ jobs:
4747
# trigger_phrase: "/claude"
4848

4949
# Optional: Trigger when specific user is assigned to an issue
50-
# assignee_trigger: "claude-bot"
50+
assignee_trigger: "claude-bot"
5151

5252
# Optional: Allow Claude to run specific commands
53-
# allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
53+
allowed_tools: "Bash(npm install),Bash(npm run build:*),Bash(npm run test:*),Bash(npm run lint:*),Bash(npm run format:*),Bash(npm run diagnostic)"
5454

5555
# Optional: Add custom instructions for Claude to customize its behavior for your project
5656
# custom_instructions: |

0 commit comments

Comments
 (0)