ci: pin conforma actions and reusable workflows to commit SHAs - #757
Merged
Conversation
Pin the cross-org conforma/* references to commit SHAs so all third-party and cross-org actions are SHA-pinned (EC-2130): - conforma/pr-size-label-action@v1.0.0 -> 8b1fcdb - conforma/github-workflows/golang-version-check@main -> db8c967 - conforma/github-workflows/.github/workflows/auto-merge.yaml@main -> db8c967 Co-Authored-By: Claude <noreply@anthropic.com> Ref: EC-2130
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #757 +/- ##
=====================================
Coverage 0.66% 0.66%
=====================================
Files 6 6
Lines 301 301
=====================================
Hits 2 2
Misses 299 299
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
What
Pin the cross-org
conforma/*action and reusable-workflow references to commitSHAs (with the original ref preserved in a trailing comment):
conforma/pr-size-label-action@v1.0.08b1fcdb…# v1.0.0conforma/github-workflows/golang-version-check@maindb8c967…# mainconforma/github-workflows/.github/workflows/auto-merge.yaml@maindb8c967…# mainWhy
Part of restricting/hardening GitHub Actions usage for the
enterprise-contractorg (EC-2130). All other actions in this repo were already SHA-pinned; these
cross-org
conforma/*references were the remaining tag-/branch-pinned ones.SHA-pinning removes the mutable-ref supply-chain risk.
Ref: EC-2130