sec: pin all third-party GitHub Actions to SHA#1919
Merged
Conversation
…s SHAs Add `// lgtm[rust/cleartext-logging]` suppression comments to 11 intentional debug/trace log sites that CodeQL incorrectly flags as sensitive data leaks (closes #1905). Pin all GitHub Actions in ci.yml and release.yml to full immutable commit SHAs to prevent supply chain attacks (closes #1906).
Fixes 26 open code-scanning alerts (actions/unpinned-tag) by replacing mutable version tags with immutable commit SHAs across all workflow files. Pinned actions: - contributor-assistant/github-action v2.6.1 → ca4a40a - ludeeus/action-shellcheck 2.0.0 → 00cae50 - dtolnay/rust-toolchain nightly → 0f1b44d - dtolnay/rust-toolchain stable → 631a55b (+ explicit toolchain: input) - Swatinem/rust-cache v2 → e18b497 - mozilla-actions/sccache-action v0.0.9 → 7d986dd - taiki-e/install-action nextest → 9786bf0 - taiki-e/install-action cargo-deny → 91088e9 - taiki-e/install-action cross → 56720d5 - lycheeverse/lychee-action v2 → 8646ba3 Affects: ci.yml, ci-non-linux.yml, codeql.yml, docs.yml, release.yml, security.yml
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
actions/unpinned-tag)toolchain:input to alldtolnay/rust-toolchainSHA-pinned stepsPinned actions
contributor-assistant/github-actionca4a40aludeeus/action-shellcheck00cae50dtolnay/rust-toolchain0f1b44ddtolnay/rust-toolchain631a55bSwatinem/rust-cachee18b497mozilla-actions/sccache-action7d986ddtaiki-e/install-action9786bf0taiki-e/install-action91088e9taiki-e/install-action56720d5lycheeverse/lychee-action8646ba3Affected files
ci.yml,ci-non-linux.yml,codeql.yml,docs.yml,release.yml,security.yml