Skip to content

fix: use BUMPY_GH_TOKEN for GitHub release creation#85

Merged
theoephraim merged 2 commits into
mainfrom
fix/use-pat-for-github-releases
May 27, 2026
Merged

fix: use BUMPY_GH_TOKEN for GitHub release creation#85
theoephraim merged 2 commits into
mainfrom
fix/use-pat-for-github-releases

Conversation

@theoephraim
Copy link
Copy Markdown
Member

Summary

  • GitHub releases created with the default GITHUB_TOKEN don't trigger downstream workflows (a known GitHub Actions limitation). Now gh release create calls use BUMPY_GH_TOKEN when available, matching the existing pattern for PR and push operations.
  • Adds token redaction to error messages in both withReleaseToken (new) and withPatToken (existing) to prevent token leakage in CI logs.
  • Adds a dummy on-release.yaml workflow to verify that release events are properly triggering downstream workflows.

Test plan

  • All 219 existing tests pass
  • Merge and release — verify the "On Release" workflow appears in the Actions tab

GitHub releases created with the default GITHUB_TOKEN don't trigger
downstream workflows. Now gh release create calls use BUMPY_GH_TOKEN
when available, matching the existing pattern for PR and push operations.

Also adds token redaction to error messages in both withReleaseToken
and withPatToken to prevent leakage in CI logs.
@github-actions
Copy link
Copy Markdown

bumpy-frog

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

patch Patch releases

  • @varlock/bumpy 1.9.2 → 1.9.3

Bump files in this PR

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


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit 65456c4 into main May 27, 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.

1 participant