Skip to content

Commit 34e3e56

Browse files
authored
No-op - Pinning github actions to commit SHAs (#474)
## Why? By using `some-org/some-action@v3` you are trusting a mutable tag. If the upstream repo is compromised, a force-pushed `v3` ships malicious code into your workflow on the next run — see [tj-actions/changed-files (March 2025)](https://www.cisa.gov/news-events/alerts/2025/03/18/supply-chain-compromise-third-party-github-action-cve-2025-30066) for recent real-world cases that leaked secrets across thousands of downstream workflows. Pinning to a full 40-char SHA (`uses: tj-actions/changed-files@<sha> # v45.0.3`) makes the reference immutable and helps to mitigate this type of supply chain attacks. cc @Shopify/checkout-kit-maintainers @kieran-osgood-shopify for review.
1 parent 449ef2e commit 34e3e56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
- name: Coverage comment
7878
if: github.event_name == 'pull_request'
79-
uses: MishaKav/jest-coverage-comment@main
79+
uses: MishaKav/jest-coverage-comment@fb83bcbaeb5ca467936175796f862a2992938833 # main
8080
with:
8181
coverage-summary-path: ./coverage/coverage-summary.json
8282
title: 'Coverage Report'

0 commit comments

Comments
 (0)