ci: pin non-GitHub-owned GitHub Actions#89
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Pins all non-GitHub-owned GitHub Actions used in this repository’s CI workflows to immutable commit SHAs (with version annotations), reducing the risk of supply-chain attacks from retagged/moved version tags.
Changes:
- Pin
codecov/codecov-actionin unit test workflow to a specific commit SHA. - Pin
golangci/golangci-lint-actionin lint workflow to a specific commit SHA. - Pin
google/clusterfuzzliteactions andCodSpeedHQ/actionin their respective workflows to specific commit SHAs.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/test.yml | Pins Codecov action to a commit SHA with a version comment. |
| .github/workflows/golangci-lint.yml | Pins golangci-lint GitHub Action to a commit SHA with a version comment. |
| .github/workflows/clusterfuzz-lite-pr.yml | Pins ClusterFuzzLite build/run actions to a commit SHA. |
| .github/workflows/benchmark.yml | Pins CodSpeed action to a commit SHA with a version comment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #89 +/- ##
=======================================
Coverage 93.55% 93.55%
=======================================
Files 4 4
Lines 186 186
=======================================
Hits 174 174
Misses 6 6
Partials 6 6 ☔ View full report in Codecov by Harness. 🚀 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.
Pin non-GitHub-owned Actions to specific commit SHAs in CI workflows
Replaces floating major version tags (e.g.
v4,v1,v9,v7) with pinned commit SHAs in benchmark.yml, clusterfuzz-lite-pr.yml, golangci-lint.yml, and test.yml. Each pinned SHA is annotated with a version comment for readability. This prevents supply chain attacks where a tag could be silently moved to a different commit.Macroscope summarized e233545.