Skip to content

Commit 032e408

Browse files
arvclaude
andauthored
CI: pin GitHub Actions to commit SHAs (#279)
Pin actions/checkout, actions/setup-node and pnpm/action-setup to full-length commit SHAs (v6) for supply-chain safety. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 83ab76d commit 032e408

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/test-and-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2323

24-
- uses: pnpm/action-setup@v4
24+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6
2525
name: Install pnpm
2626
with:
2727
run_install: false
2828

2929
- name: Use Node.js 22.x
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3131
with:
3232
node-version: 22.x
3333
cache: 'pnpm'
@@ -64,15 +64,15 @@ jobs:
6464

6565
steps:
6666
- name: Checkout
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6868

69-
- uses: pnpm/action-setup@v4
69+
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6
7070
name: Install pnpm
7171
with:
7272
run_install: false
7373

7474
- name: Use Node.js ${{ matrix.node-version }}
75-
uses: actions/setup-node@v4
75+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
7676
with:
7777
node-version: ${{ matrix.node-version }}
7878
cache: 'pnpm'

0 commit comments

Comments
 (0)