Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: use RELEASE_PLZ_TOKEN for the Homebrew formula push#58

Merged
PeterKneale merged 1 commit into
mainfrom
ci/tap-token-reuse
Jun 25, 2026
Merged

ci: use RELEASE_PLZ_TOKEN for the Homebrew formula push#58
PeterKneale merged 1 commit into
mainfrom
ci/tap-token-reuse

Conversation

@PeterKneale

Copy link
Copy Markdown
Owner

What

Switches the update-formula job to push the regenerated tap formula using the existing RELEASE_PLZ_TOKEN PAT instead of a new HOMEBREW_TAP_TOKEN secret.

That PAT already has cross-repo write access (it is what release-plz uses), so there is now nothing extra to configure for the auto-update to work. The job still skips with a warning if the token is somehow unset, so releases never fail on it.

🤖 Generated with Claude Code

Reuse the existing RELEASE_PLZ_TOKEN PAT (which already has cross-repo write
access) to push the regenerated formula to the tap, instead of requiring a
separate HOMEBREW_TAP_TOKEN secret. No new secret to configure.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings June 25, 2026 02:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release workflow so the Homebrew tap formula regeneration/push uses the existing RELEASE_PLZ_TOKEN PAT rather than requiring a separate HOMEBREW_TAP_TOKEN secret, reducing release configuration overhead while keeping the “skip with warning if unset” behavior.

Changes:

  • Switched update-formula job token source from HOMEBREW_TAP_TOKEN to RELEASE_PLZ_TOKEN.
  • Updated workflow comments and the skip warning message to reference RELEASE_PLZ_TOKEN.
  • Updated the tap repo checkout to authenticate with RELEASE_PLZ_TOKEN.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 85 to 88
with:
repository: PeterKneale/homebrew-tap
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}
token: ${{ secrets.RELEASE_PLZ_TOKEN }}
path: homebrew-tap
@PeterKneale PeterKneale merged commit 289266b into main Jun 25, 2026
4 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 25, 2026
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.

3 participants