Skip to content

fix: enable gh CLI for Claude to create PRs directly#13

Merged
StuMason merged 1 commit intomainfrom
fix/claude-workflow-gh-cli
Jan 17, 2026
Merged

fix: enable gh CLI for Claude to create PRs directly#13
StuMason merged 1 commit intomainfrom
fix/claude-workflow-gh-cli

Conversation

@StuMason
Copy link
Copy Markdown
Owner

Summary

  • Added Bash(gh:*) to allowedTools so Claude can use gh CLI commands
  • Added author_association security check (only OWNER/COLLABORATOR can trigger)
  • Changed permissions to write for contents, pull-requests, issues
  • Added allowed_bots: "claude" to code review workflow
  • Added --system-prompt to inform Claude of its gh CLI capabilities

Stu Mason + AI me@stumason.dev

- Added Bash(gh:*) to allowedTools so Claude can use gh CLI
- Added author_association security check (only OWNER/COLLABORATOR)
- Changed permissions to write for contents, pull-requests, issues
- Added allowed_bots: "claude" to code review workflow
- Added --system-prompt to inform Claude of its gh CLI capabilities

Stu Mason + AI <me@stumason.dev>
@StuMason StuMason merged commit 3390e22 into main Jan 17, 2026
4 of 5 checks passed
@StuMason StuMason deleted the fix/claude-workflow-gh-cli branch January 17, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant