Repository navigation
Copilot GitHub Actions Locks Refactoer - #103
Merged
Merged
Conversation
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.
References
Description
Adopt GitHub Actions workflow dependency lockfiles so every workflow runs the exact, reviewed commit of each action, even if a tag or branch ref moves. Adds a CI check that keeps the lockfile valid.
Instructions for Reviewers
List of changes in this PR:
.github/workflows/actions.lock, generated withgh actions-lock. It pins all actions (and the transitive dependency ofWandalen/wretry.action) to verified commits.build.yml,codescan.yml,docker.ymlandlabel_merge_conflicts.yml: partial refs were narrowed to full tags (e.g.actions/checkout@v3->@v3.7.0,docker/build-push-action@v3->@v3.3.1). These are the same major versions as before; only the ref is more precise..github/workflows/verify-lockfile.yml, which runsgithub/gh-actions-lock@verify/v0.5.1on pull requests and pushes tomainto catch a stale or corrupt lockfile. It is itself locked.github-actionsentry needs no changes, because Dependabot regenerates the lockfile entry in the same update PR.Notes:
github/codeql-action@v2was left as a floating major tag (latest is v4.39.5). Upgrading it is out of scope here.How to review/test:
gh extension install github/gh-actions-lock && gh actions-lock --verify. It should report all 7 workflows valid.