fix(na): pin asdf version in CI workflows - #2265
Merged
Merged
Conversation
asdf published v0.20.1 with zero release assets, so the install action's default `asdf_version: latest` resolves to a release with no linux-amd64 tarball and fails with "No asdf release found for the current platform". Upstream had just enabled GitHub Immutable Releases (asdf-vm/asdf#2281), which blocks their create-then-upload release pipeline: every asset upload returned 422 and the build job was cancelled (asdf-vm/asdf#2329). Because an immutable release cannot accept assets after publish, v0.20.1 will not be repaired in place -- re-running does not help. Pin to 0.20.0, the version CI installed successfully on 2026-09-15, which still has all 10 assets. Note the value must omit the leading "v": the action builds the API path as `tags/v${asdf_version}`. Both workflows use the same step, so both are updated. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
CI on
mainis red. TheInstall asdf & tools in .tool-versionsstep fails in ~0.3s with:Nothing in this repo caused it. asdf published v0.20.1 on 2026-09-22 at 02:15 UTC with zero release assets, and our step takes the action's default
asdf_version: latest, which resolves to it.Upstream had just enabled GitHub Immutable Releases (asdf-vm/asdf#2281), which breaks their create-then-upload release pipeline — every asset upload returned
422 Cannot upload assets to an immutable releaseand the build job was cancelled (asdf-vm/asdf#2329). v0.20.1 is the first release cut since that change, which is why every earlier release has 10 assets and this one has 0.Why not just re-run
An immutable release cannot accept assets after publish, so v0.20.1 won't be repaired in place — the upstream fix will be a new tag. Until then
lateststays broken.The fix
Pin
asdf_versionto0.20.0— the version CI installed successfully on 2026-09-15, which still has all 10 assets includingasdf-v0.20.0-linux-amd64.tar.gz.Both workflows use the same step, so both are updated.
cron-check-links.ymlis affected identically.The action SHA is unchanged — the action isn't at fault.
Note
The value must omit the leading
v. The action builds the API path as`tags/v${asdf_version}`, sov0.20.0would requesttags/vv0.20.0and 404.This also closes a small gap against the workflows' own header comment — "All software installed below is pinned so they don't get upgraded and break w/o us knowing why." The action SHA and
.tool-versionswere pinned; asdf itself was the one floating link.Follow-ups, not in this PR
dependabot.yml/ Renovate config, so the SHA-pinned actions are frozen —actions/checkoutis on a March 2023 commit, five majors behind. This is also the source of the Node 20 deprecation annotation.peaceiris/actions-hugo+actions/setup-gowould remove several unpinned hops (theasdf plugin addcalls clone plugin repos at HEAD).Testing
{"asdf_version": "0.20.0"}.tags/v0.20.0still servesasdf-v0.20.0-linux-amd64.tar.gz.main) — exit 0, 565 pages, 777 aliases, all internal links resolve underlinkErrorLevel = "ERROR". One unrelatedtabsshortcode deprecation warning.License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.
🤖 Generated with Claude Code