Repository navigation
ci(actions-lock): leaf entries need a tag ref, not the pin's own SHA - #1271
Merged
Merged
Conversation
GitHub's runtime now enforces the actions lockfile, and every cross-repo caller of the shared reusable workflows has failed job setup since with "invalid lockfile pin" for this repository's leaf actions: the lock consulted for a reusable workflow's dependencies is the defining repository's, and the entries for SHA-pinned actions carried ref: <the pin itself> while the entries that resolve carry ref: <tag> (e.g. actions/checkout@de0fac2e -> ref v6.0.2, MEASURED resolving on palimpsest's own warrant runs). The new validation rejects a SHA as a ref. Nine leaf entries corrected to tags that verifiably peel to the pinned SHAs (MEASURED via git ls-remote, including the annotated ossf/scorecard-action v2.4.4 whose tag object hid the match from the API search): cache -> v6.1.0, checkout -> v7.0.1, configure-pages -> v6.0.0, create-github-app-token -> v3.2.0, deploy-pages -> v5.0.1, upload-pages-artifact -> v5.0.0, setup-beam -> v1.24.1, setup-ocaml -> v3.9.0, scorecard-action -> v2.4.4. No commit value changes: the pins do not move. Workflows stay SHA-pinned (canon rule 10), so the official tool's v0.0.3 tag-rewrite model cannot be used here; the four stale unreferenced entries are left untouched. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Contributor
K9 contract conformancerun https://github.com/hyperpolymath/standards/actions/runs/38870991802 K9 normative contract typecheckK9 contract self-testK9 conformance fixturesK9 corpus conformance (L2) |
|
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.



GitHub's runtime now enforces the actions lockfile, and every cross-repo caller of the shared reusable workflows has failed job setup since with "invalid lockfile pin" for this repository's leaf actions: the lock consulted for a reusable workflow's dependencies is the defining repository's, and the entries for SHA-pinned actions carried
ref: while the entries that resolve carry ref:
(e.g. actions/checkout@de0fac2e -> ref v6.0.2, MEASURED resolving on palimpsest's own warrant runs). The new validation rejects a SHA as a ref.
Nine leaf entries corrected to tags that verifiably peel to the pinned SHAs (MEASURED via git ls-remote, including the annotated ossf/scorecard-action v2.4.4 whose tag object hid the match from the
API search): cache -> v6.1.0, checkout -> v7.0.1, configure-pages ->
v6.0.0, create-github-app-token -> v3.2.0, deploy-pages -> v5.0.1, upload-pages-artifact -> v5.0.0, setup-beam -> v1.24.1, setup-ocaml -> v3.9.0, scorecard-action -> v2.4.4. No commit value changes: the pins do not move. Workflows stay SHA-pinned (canon rule 10), so the official tool's v0.0.3 tag-rewrite model cannot be used here; the four stale unreferenced entries are left untouched.
Generated by Mistral Vibe.
Summary
Closes #
Type of change
How has this been verified?
Checklist
git commit -S).SPDX-License-Identifier(code/configMPL-2.0,prose
CC-BY-SA-4.0); I did not relicense existing files.Notes for reviewers