Skip to content

Commit c2014a1

Browse files
committed
claude: grant permissions to comment on issues
1 parent 13814e4 commit c2014a1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/claude.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
runs-on: ubuntu-latest
2323
permissions:
2424
contents: read
25-
pull-requests: read
26-
issues: read
25+
pull-requests: write
26+
issues: write
2727
id-token: write
2828
actions: read # Required for Claude to read CI results on PRs
2929
steps:
@@ -50,5 +50,5 @@ jobs:
5050
# Optional: Add claude_args to customize behavior and configuration
5151
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
5252
# or https://code.claude.com/docs/en/cli-reference for available options
53-
claude_args: '--model opus --allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'
53+
claude_args: '--model opus --allowed-tools "Bash(gh issue view:*),Bash(gh issue comment:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'
5454

0 commit comments

Comments
 (0)