Skip to content

ci: pin Nix releases from release-plz - #103

Merged
davidborzek merged 1 commit into
mainfrom
ci/nix-pin-on-release
Aug 24, 2026
Merged

ci: pin Nix releases from release-plz#103
davidborzek merged 1 commit into
mainfrom
ci/nix-pin-on-release

Conversation

@davidborzek

Copy link
Copy Markdown
Owner

The pin job added in #102 never ran: release-plz tags with the default
GITHUB_TOKEN, and GitHub does not fire workflows for events that token
creates. release-plz.yml:139 already says so — it is why the binary, Docker
and docs jobs are called from there rather than triggered by the tag.

The pin is now a reusable workflow taking the two tags as inputs, called from
release-plz like homebrew.yml. nix-cache.yml keeps only what a push trigger
can do: fill the cache from main.

The pin job never ran. The tag `ringo-phone-v0.15.0` sits on a commit that
does contain the trigger, but release-plz tags with the default
GITHUB_TOKEN, and GitHub does not fire workflows for events that token
creates — the same reason the binary, Docker and docs jobs already hang
off release-plz instead of a tag trigger. It is written down in
release-plz.yml; I added the tag trigger anyway.

So the pin becomes a reusable workflow taking the two tags as inputs, the
way homebrew.yml does, and release-plz calls it when either crate was
released. nix-cache.yml goes back to what a push trigger can actually do:
fill the cache from main.
@davidborzek
davidborzek merged commit df01fb5 into main Aug 24, 2026
13 checks passed
@davidborzek
davidborzek deleted the ci/nix-pin-on-release branch August 24, 2026 20:08
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