[SECOPS-2289] pin all GitHub Actions to full commit SHAs for supply-chain security #sec#12
Open
nicolas-gagnon wants to merge 7 commits intocloudnull:mainfrom
Open
Conversation
Fix version number
…hain security #sec
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
Pins all GitHub Actions in workflows to full 40-character commit SHAs instead of version tags, and uses the internal figment-github-actions reusable pre-commit workflow (also pinned by SHA).
Motivation
Changes
Pre-commit workflow
figment-networks/figment-github-actions/.github/workflows/pre-commit.yaml@89b46e3bd29417a8c1a9129f0a200f63bf98b7e2Other workflows (inline pins)
@v5→08c6903cd8c0fde910a37f88322edcfb5dd907a8@v6→e797f83bcb11b83ae66e0230d6156d7c80228e7cFiles updated
.github/workflows/pre-commit.yaml(now calls internal reusable workflow with SHA pin).github/workflows/role-btrfs.yaml.github/workflows/role-format.yaml.github/workflows/role-lvg.yaml.github/workflows/role-mdadm.yaml.github/workflows/role-zfs_pool.yaml.github/workflows/role-zfs_setup.yaml