Skip to content

Commit 3611516

Browse files
Pin GitHub Actions to commit SHAs
Replace mutable tag references with immutable commit SHAs for supply chain security. Tags preserved as comments. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2769044 commit 3611516

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
matrix:
1414
node-version: [20.x]
1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1717
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v6
18+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121
- name: npm install

.github/workflows/eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v6
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3232

3333
- name: Install ESLint Dependencies
3434
run: |
@@ -44,7 +44,7 @@ jobs:
4444
continue-on-error: true
4545

4646
- name: Upload analysis results to GitHub
47-
uses: github/codeql-action/upload-sarif@v4
47+
uses: github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4
4848
with:
4949
sarif_file: eslint-results.sarif
5050
wait-for-processing: true

.github/workflows/watcher.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
GHWATCHER_ENABLE_DEPENDABOT: true
2828
GHWATCHER_BASEURL: https://api.github.com
2929
steps:
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3131
- name: Use Node.js 24.x
32-
uses: actions/setup-node@v6
32+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3333
with:
3434
node-version: 24
3535
- name: npm setup

0 commit comments

Comments
 (0)