Skip to content

Add --pat-pr and --pat-comments flags for CI commands#20

Merged
theoephraim merged 2 commits into
mainfrom
feat/pat-pr-and-comments
Apr 21, 2026
Merged

Add --pat-pr and --pat-comments flags for CI commands#20
theoephraim merged 2 commits into
mainfrom
feat/pat-pr-and-comments

Conversation

@theoephraim

Copy link
Copy Markdown
Member

Summary

  • Add --pat-pr flag to ci release — creates/edits the version PR using BUMPY_GH_TOKEN instead of the default GH_TOKEN
  • Add --pat-comments flag to ci check — posts PR comments using BUMPY_GH_TOKEN
  • Fix CI not triggering on new version PRs by adding a second push after PR creation (when --pat-pr is not used)
  • Enable both flags in this repo's workflows since we use a dedicated bot account

These flags are intended for when BUMPY_GH_TOKEN belongs to a dedicated automation/bot account. If using a developer's personal PAT, leave them off so PRs/comments appear from github-actions[bot] and the developer can still review.

Test plan

  • Verify build passes
  • Verify tests pass
  • Merge and confirm release PR is created by bot account and CI triggers

🤖 Generated with Claude Code

Allow users to opt in to using BUMPY_GH_TOKEN for PR creation and
comment posting, not just git push. Useful when the token belongs to a
dedicated bot account. When not set, PRs/comments still come from
github-actions[bot] so a developer's PAT doesn't block self-review.

Also fixes CI not triggering on new version PRs by adding a second push
after PR creation when --pat-pr is not used.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bumpy-bot

bumpy-bot commented Apr 20, 2026

Copy link
Copy Markdown
Collaborator

bumpy-frog

The changes in this PR will be included in the next version bump.

minor Minor releases

  • @varlock/bumpy 0.0.2 → 0.1.0

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@theoephraim theoephraim merged commit 859c193 into main Apr 21, 2026
2 checks passed
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.

2 participants