-
Notifications
You must be signed in to change notification settings - Fork 133
Fix claude 01 #1250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix claude 01 #1250
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,3 @@ | ||||||
| { | ||||||
| "allowedTools": ["Bash(*)"] | ||||||
| "allowedTools": ["Bash(gh *)", "Bash(git *)", "Bash(python3 *)", "Bash(grep *)", "Bash(cat *)", "Bash(ls *)"] | ||||||
|
||||||
| "allowedTools": ["Bash(gh *)", "Bash(git *)", "Bash(python3 *)", "Bash(grep *)", "Bash(cat *)", "Bash(ls *)"] | |
| "allowedTools": ["Bash(grep *)", "Bash(cat *)", "Bash(ls *)"] |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -28,17 +28,29 @@ jobs: | |||||||||||||||||||||||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||||||||||||||||||||||||
| github_token: ${{ github.token }} | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| # (Optional) Useful while debugging; can expose secrets in logs | ||||||||||||||||||||||||
| show_full_output: true | ||||||||||||||||||||||||
|
Comment on lines
+31
to
32
|
||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' | ||||||||||||||||||||||||
| plugins: 'code-review@claude-code-plugins' | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| claude_args: | | ||||||||||||||||||||||||
| --allowedTools "Bash(*)" | ||||||||||||||||||||||||
| # IMPORTANT: allow exactly what the review flow uses | ||||||||||||||||||||||||
| claude_args: > | ||||||||||||||||||||||||
| --allowedTools | ||||||||||||||||||||||||
| "Bash(gh pr view:*)" | ||||||||||||||||||||||||
| "Bash(gh pr diff:*)" | ||||||||||||||||||||||||
| "Bash(gh api:*)" | ||||||||||||||||||||||||
| "Bash(gh search code:*)" | ||||||||||||||||||||||||
| "Bash(cat:*)" | ||||||||||||||||||||||||
| "Bash(ls:*)" | ||||||||||||||||||||||||
| "Bash(grep:*)" | ||||||||||||||||||||||||
| "Bash(python3:*)" | ||||||||||||||||||||||||
| "Bash(git:*)" | ||||||||||||||||||||||||
|
Comment on lines
+42
to
+48
|
||||||||||||||||||||||||
| "Bash(gh api:*)" | |
| "Bash(gh search code:*)" | |
| "Bash(cat:*)" | |
| "Bash(ls:*)" | |
| "Bash(grep:*)" | |
| "Bash(python3:*)" | |
| "Bash(git:*)" | |
| "Bash(gh search code:*)" | |
| "Bash(cat:*)" | |
| "Bash(ls:*)" | |
| "Bash(grep:*)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The allowlist syntax here uses a space form (
"Bash(gh *)") while the workflow uses a colon form (e.g.,"Bash(gh pr view:*)"). If the tool-matching grammar expects thecommand:patternformat, these entries may not match as intended and could result in tools being blocked or unintentionally allowed. Align the settings file with the exact same pattern style used in the workflow (and ideally the same specific subcommands).