Skip to content

ci: disable Homebrew tap auto-push (token approval pending) - #37

Merged
EYH0602 merged 1 commit into
mainfrom
worktree-optimized-wibbling-alpaca
Jul 19, 2026
Merged

ci: disable Homebrew tap auto-push (token approval pending)#37
EYH0602 merged 1 commit into
mainfrom
worktree-optimized-wibbling-alpaca

Conversation

@EYH0602

@EYH0602 EYH0602 commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

The publish-homebrew-formula release job fails because its cross-repo push to ARA-Labs/homebrew-tap needs the HOMEBREW_TAP_TOKEN secret, whose approval is gated on the org owner. This disables that auto-push so releases stop failing.

  • .github/workflows/release.yml: remove the publish-homebrew-formula job and drop its dependency from the announce job (needs + if: condition).
  • Cargo.toml: remove publish-jobs = ["homebrew"] from [workspace.metadata.dist], with a comment on why and how to re-enable.

The Homebrew installer stays enabled, so the .rb formula is still built and attached to each GitHub Release — only the automatic push to the tap is gone. Publish to the tap manually until the token is approved.

Notes

  • Edited release.yml surgically instead of running dist generate, to preserve the hand-pinned action SHAs and the actions/checkout@v7 bump (protected by allow-dirty = ["ci"]).
  • No version bump / changelog entry: .github/ CI tweaks and dist-config manifest metadata are non-functional per the project rules — the shipped ara binary is unchanged.
  • dist plan passes with only the expected "tap specified but publish job disabled" warning.

Test plan

  • Next release run no longer executes/fails the Homebrew push job
  • Release still produces and attaches the .rb formula artifact

Drop the `homebrew` publish-job so releases no longer fail on the
cross-repo push to ARA-Labs/homebrew-tap, which is blocked on org-owner
approval of the HOMEBREW_TAP_TOKEN secret.

The homebrew installer still ships the formula as a release artifact;
publishing it to the tap is done manually until the token lands. Re-enable
via `publish-jobs = ["homebrew"]` in Cargo.toml + `dist generate`.
@EYH0602

EYH0602 commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator Author

@AmberLJC lemme know when you get a chance to approve the token request

@EYH0602
EYH0602 merged commit ab47d68 into main Jul 19, 2026
13 checks passed
EYH0602 added a commit that referenced this pull request Jul 20, 2026
The HOMEBREW_TAP_TOKEN secret is now approved by the org owner, so restore
the cargo-dist homebrew publish job that #37 removed: add back
publish-jobs = ["homebrew"] in Cargo.toml and reinstate the
publish-homebrew-formula job in release.yml (restored verbatim from the
pre-#37 state, which already carried the checkout@v7 pin from #29;
regenerating via dist generate is blocked by allow-dirty = ["ci"]).

Roll the [Unreleased] changelog under 0.1.10.
EYH0602 added a commit that referenced this pull request Jul 20, 2026
Drop the homebrew publish-job so releases no longer fail on the cross-repo
push to ARA-Labs/homebrew-tap. The HOMEBREW_TAP_TOKEN scope setup is being
deferred; the tap is updated manually until it lands.

Mirrors #37. The homebrew installer still ships the formula as a release
artifact; only the auto-push job is removed. Re-enable via
publish-jobs = ["homebrew"] in Cargo.toml + dist generate.
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