Skip to content

Commit 9569a52

Browse files
committed
chore: pin external GitHub Actions to full commit SHAs
Pin all unpinned external GitHub Action `uses:` references to their current full 40-character commit SHAs, with original ref in a comment. This is part of the org-wide supply chain security hardening effort. Refs: SEC-7928, SEC-6683
1 parent f0e8ff9 commit 9569a52

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1616

1717
- name: Use Node.js 16
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
1919
with:
2020
node-version: 16
2121
cache: "yarn"

.github/workflows/pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2727
- name: Setup Node
28-
uses: actions/setup-node@v3
28+
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
2929
with:
3030
node-version: "18"
3131
cache: yarn
3232
- name: Setup Pages
33-
uses: actions/configure-pages@v3
33+
uses: actions/configure-pages@b8130d9ab958b325bbde9786d62f2c97a9885a0e # v3
3434
- name: Install dependencies
3535
run: yarn install
3636
- name: Build
@@ -40,7 +40,7 @@ jobs:
4040
mv multichain/blocklist-full.json ./out/multichain/
4141
mv blocklist-full.json ./out/
4242
- name: Upload artifact
43-
uses: actions/upload-pages-artifact@v1
43+
uses: actions/upload-pages-artifact@84bb4cd4b733d5c320c9c9cfbc354937524f4d64 # v1
4444
with:
4545
path: ./out
4646

@@ -54,4 +54,4 @@ jobs:
5454
steps:
5555
- name: Deploy to GitHub Pages
5656
id: deployment
57-
uses: actions/deploy-pages@v1
57+
uses: actions/deploy-pages@f27bcc15848fdcdcc02f01754eb838e44bcf389b # v1

0 commit comments

Comments
 (0)