Skip to content

Commit 1129e9c

Browse files
Pin GitHub Actions to full-length commit SHAs (#88)
Replace mutable major-version tags on external actions with verified full-length commit SHAs from official upstream repositories to mitigate supply-chain risk. Each pin stays within the same major version, so workflow behavior is preserved. - actions/checkout@v4 -> 34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - biomejs/setup-biome@v2 -> 4c91541eaada48f67d7dbd7833600ce162b68f51 # v2.7.1 (annotated tag, peeled commit) - actions/setup-node@v4 -> 49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 - actions/upload-artifact@v4 -> ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e0f4e2d commit 1129e9c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/biome.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1717
- name: Check Biome Version
1818
run: ./scripts/check-biome-version.sh
1919
- name: Setup Biome
20-
uses: biomejs/setup-biome@v2
20+
uses: biomejs/setup-biome@4c91541eaada48f67d7dbd7833600ce162b68f51 # v2.7.1
2121
with:
2222
version: "1.9.4"
2323
- name: Run Biome

.github/workflows/playwright.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
timeout-minutes: 60
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
19-
- uses: actions/setup-node@v4
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
19+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2020
with:
2121
node-version: lts/*
2222
- name: Install dependencies
@@ -25,7 +25,7 @@ jobs:
2525
run: npm exec playwright install chromium --with-deps
2626
- name: Run Playwright tests
2727
run: npm run e2e-tests
28-
- uses: actions/upload-artifact@v4
28+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2929
if: ${{ !cancelled() }}
3030
with:
3131
name: playwright-report

0 commit comments

Comments
 (0)