Skip to content

Fix release to drive Homebrew Tap update - #109

Merged
nnutter merged 2 commits into
masterfrom
update-tap
Nov 4, 2026
Merged

nnutter merged 2 commits into
masterfrom
update-tap

Conversation

@nnutter

@nnutter nnutter commented Nov 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

When `GITHUB_TOKEN` publishes a release, that event starts no workflow
run. The tap update listens for `release: published`, so it never ran
after an automatic release, and an earlier change worked around that
with a tag trigger.

A GitHub App token does not suppress the event, so the publish step now
uses one. A published release can then start the tap update.

The token comes first in the job, so a missing app install fails the run
before any release exists. The create and upload steps keep
`GITHUB_TOKEN`, so the app needs write access to release contents only.

Change-Id: I98a9c646b27b1fcc4de81512d963c62f904c321e
The formula downloads the release archives, so its URLs exist only
after the release publishes. A tag push lands before the upload, when
those assets are still absent, so the tag trigger cannot fill them in.

The workflow now starts on `release: published` and takes the tag from
that event. `workflow_dispatch` stays, so a backfill can still name a
tag by hand. The tag-push fields go away with the trigger.

Change-Id: I7c9b16689e61e11ba4820b54db6d06841b48cde4
@nnutter
nnutter merged commit 59d7911 into master Nov 4, 2026
3 checks passed
@nnutter
nnutter deleted the update-tap branch November 4, 2026 14:06
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