Repository navigation
ci: lock GitHub Actions dependencies with actions.lock - #7
Merged
Merged
Conversation
Co-Authored-By: corentin.filoche <corentinfiloche@hotmail.fr>
Co-Authored-By: corentin.filoche <corentinfiloche@hotmail.fr>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
Original prompt from corentin.filoche
|
Co-Authored-By: corentin.filoche <corentinfiloche@hotmail.fr>
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.
Summary
Adopts GitHub Actions workflow lockfiles, generated with
gh actions-lockv0.4.1. Same setup as reelevant-tech/datasources#1909..github/workflows/actions.lockpins every direct and transitive action to a commit. The runner refuses an onboarded workflow whoseuses:isn't in the lockfile, and runs the recorded commit even if the tag moves.actions/checkout@v6.0.2) instead of inline SHAs; SHA-pinned actions run the same commits as before, floating refs (e.g.@v6) were narrowed to the exact release they resolve to today.verify-actions-lock.ymlrunsgh actions-lock --verifyon PRs and onmain, onubuntu-latest(this repo's workflows run on GitHub-hosted runners). It downloads thegh-actions-lockrelease binary for the runner's arch and checks it against a pinned sha256 before running it (noghCLI needed).gh actions-lock --verifylocally:All 3 workflows valid.Updating an action: change the
uses:and rungh actions-lock(or--relockto advance a moved ref).Link to Devin session: https://app.devin.ai/sessions/d6a6a35fb385475a883afc686ce14ca1
Open in Devin Desktop: https://app.devin.ai/desktop/session/d6a6a35fb385475a883afc686ce14ca1?variant=devin
Requested by: @Tchoupinax
🟢 Devin Review found nothing to fix · View findings