Skip to content

Commit 4e05503

Browse files
authored
Merge pull request #1800 from maxmind/greg/eng-3770
Pin GitHub Actions to SHA for security
2 parents c033ad2 + d856bf2 commit 4e05503

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222
with:
2323
persist-credentials: false
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v4
27+
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
2828
# Override language selection by uncommenting this and choosing your languages
2929
# with:
3030
# languages: go, javascript, csharp, python, cpp, java
3131

3232
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3333
# If this step fails, then you should remove it and run the build manually (see below)
3434
- name: Autobuild
35-
uses: github/codeql-action/autobuild@v4
35+
uses: github/codeql-action/autobuild@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
3636

3737
# ℹ️ Command-line programs to run using the OS shell.
3838
# 📚 https://git.io/JvXDl
@@ -46,4 +46,4 @@ jobs:
4646
# make release
4747

4848
- name: Perform CodeQL Analysis
49-
uses: github/codeql-action/analyze@v4
49+
uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v6
12+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1313
with:
1414
persist-credentials: false
15-
- uses: actions/setup-node@v6
15+
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
1616
with:
1717
node-version: 20
1818
- name: Check that package-lock.json is valid JSON

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
build:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v6
18+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1919
with:
2020
persist-credentials: false
21-
- uses: actions/setup-node@v6
21+
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
2222
with:
2323
node-version: 22
2424
- run: npm ci
@@ -36,10 +36,10 @@ jobs:
3636
contents: write
3737
id-token: write
3838
steps:
39-
- uses: actions/checkout@v6
39+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4040
with:
4141
persist-credentials: false
42-
- uses: actions/setup-node@v6
42+
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
4343
with:
4444
node-version: 22
4545
registry-url: 'https://registry.npmjs.org'

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
matrix:
1313
version: [18, 20]
1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1616
with:
1717
persist-credentials: false
18-
- uses: actions/setup-node@v6
18+
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
1919
with:
2020
node-version: ${{ matrix.version }}
2121
- run: npm ci

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
security-events: write
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v6
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1919
with:
2020
persist-credentials: false
2121

0 commit comments

Comments
 (0)