Repository navigation
Signing job: third-party actions pinned to a commit - #1507
Merged
Merged
Conversation
Every action of every workflow, the composite setup-rust included, by commit with its tag in a comment.
2 tasks
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.
Closes #1471
Checked on
mainbefore the change — the references are written in the files, so this is a check of the configuration, not a test:.github/actions/setup-rust/action.yml:36isdtolnay/rust-toolchain@master(a branch) and:54isSwatinem/rust-cache@v2(a moving tag). Every other action is on a major tag, andtaiki-e/install-action@cargo-llvm-covon a moving tag.dtolnay/rust-toolchain683b588c,Swatinem/rust-cached1527c8f,actions/checkout3d3c42e5,actions/upload-artifactcf430e03,actions/download-artifact9000827c,actions/setup-node949feb24,softprops/action-gh-release8a0cd651: nothing pinned them there.Change — the 30 action references of the six workflows and of
setup-rustare pinned by commit, the tag or branch they came from in a comment (actions/checkout@3d3c42e5… # v7). Each hash is the commit its tag pointed to today, the same as the release run above for the ones it used. Dependabot'sgithub-actionsentry now also reads/.github/actions/setup-rust, whichdirectory: /alone did not.docs/releasing.mdsays the rule.Tests — this pull request runs
ci.yml,packages.yml,security-cargo.ymlandsecurity-npm.yml(their own files changed).release.ymlruns at the next release's dry run. The next Dependabotgithub-actionsrun should propose hashes; the configuration is only validated onmain(its check run).