Skip to content

Commit d94290e

Browse files
committed
ci: pin third-party GitHub Actions to commit SHAs
Round-2 audit fix. Pins all unpinned third-party action 'uses:' to their current commit SHAs so a force-push or retag of an upstream ref can't substitute attacker code at install time. Tag annotations preserved as trailing comments so future bumps stay traceable. Same pattern shipped at XRPLF/xrpl-rust#304.
1 parent 721ec72 commit d94290e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v6
1818

1919
- name: Install pnpm
20-
uses: pnpm/action-setup@v6
20+
uses: pnpm/action-setup@739bfe42ca924aa46f50ef27aff1c97d09b2d24d # v6
2121
with:
2222
version: 10.33.0
2323
run_install: false

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
language: ['javascript-typescript']
2424
steps:
2525
- uses: actions/checkout@v5
26-
- uses: github/codeql-action/init@v3
26+
- uses: github/codeql-action/init@7fd177fa680c19180e54b0d8d72d6b4ca37aaecb # v3
2727
with:
2828
languages: ${{ matrix.language }}
29-
- uses: github/codeql-action/analyze@v3
29+
- uses: github/codeql-action/analyze@7fd177fa680c19180e54b0d8d72d6b4ca37aaecb # v3
3030
with:
3131
category: '/language:${{ matrix.language }}'

0 commit comments

Comments
 (0)