Skip to content

ci: pin lychee-action to the commit its version comment names - #70

Merged
kingchenc merged 1 commit into
mainfrom
ci/pin-action-versions
Aug 26, 2026
Merged

ci: pin lychee-action to the commit its version comment names#70
kingchenc merged 1 commit into
mainfrom
ci/pin-action-versions

Conversation

@kingchenc

Copy link
Copy Markdown
Contributor

Closes the open zizmor/ref-version-mismatch alert.

file action pinned SHA is comment claimed now
links.yml:25 lycheeverse/lychee-action v2.8.0 (2026-02-17) # v2 e747777 # v2.9.0

Same major, so no behaviour change is intended — this corrects a comment that
had stopped being true, not the action itself.

The comment is now an exact version rather than a floating major, which is
what let it drift: # v2 is accurate only until the next release moves the tag,
and then it quietly becomes a false claim a reviewer has no way to spot.

Every other pinned action in this repository was checked the same way and
resolves to the commit its comment names.

Not addressed here: the five open Dependabot alerts (vite, esbuild, uuid).
All are development-scope and transitive under vitepress@1.6.4, and clearing
them needs a VitePress 2.x major upgrade — a separate decision.

zizmor's ref-version-mismatch flagged the only mismatched pin here: the SHA and
the version written beside it point at different releases, so the comment
invites a reviewer to trust a version claim that does not hold.

  lycheeverse/lychee-action   8646ba3 is v2.8.0, the comment said v2, and v2
                              has since moved to e747777 (v2.9.0)

It now carries the newest v2 release, commented with the exact version rather
than the floating major. A floating comment is what let this drift: it is
correct only until the next release moves the tag, and then it silently becomes
a lie.

Every other pinned action in this repository was checked the same way and
resolves to the commit its comment names.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying webpage with  Cloudflare Pages  Cloudflare Pages

Latest commit: b62b8ad
Status: ✅  Deploy successful!
Preview URL: https://f3c1edd5.webpage-2vc.pages.dev
Branch Preview URL: https://ci-pin-action-versions.webpage-2vc.pages.dev

View logs

@kingchenc
kingchenc merged commit 4181984 into main Aug 26, 2026
4 checks passed
@kingchenc
kingchenc deleted the ci/pin-action-versions branch August 26, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant