Skip to content

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

Merged
StuMason merged 2 commits intomainfrom
fix/claude-workflow-gh-cli
Jan 17, 2026
Merged

fix: enable gh CLI for Claude to create PRs directly#9
StuMason merged 2 commits 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>
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 17, 2026

Codecov Report

❌ Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.11%. Comparing base (baf9840) to head (0c1c2b7).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/polar_flow/endpoints/activity_samples.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   77.11%   77.11%           
=======================================
  Files          29       29           
  Lines        1040     1040           
  Branches       93       93           
=======================================
  Hits          802      802           
  Misses        206      206           
  Partials       32       32           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Fix formatting on 4 Python files (ruff format)
- Add noqa: ARG002 to sleep.py for backwards-compatible unused argument

Stu Mason + AI <me@stumason.dev>
@StuMason StuMason merged commit b8206cb into main Jan 17, 2026
7 of 8 checks passed
@StuMason StuMason deleted the fix/claude-workflow-gh-cli branch January 17, 2026 17:00
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