Skip to content

Commit 1e0a1d2

Browse files
authored
Merge pull request #310 from maxmind/greg/eng-3770
Pin GitHub Actions to SHA for security
2 parents d1047f5 + 56692cc commit 1e0a1d2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v6
23+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2424
with:
2525
# We must fetch at least the immediate parents so that if this is
2626
# a pull request then we can checkout the head.
@@ -34,15 +34,15 @@ jobs:
3434

3535
# Initializes the CodeQL tools for scanning.
3636
- name: Initialize CodeQL
37-
uses: github/codeql-action/init@v4
37+
uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9
3838
# Override language selection by uncommenting this and choosing your languages
3939
# with:
4040
# languages: go, javascript, csharp, python, cpp, java
4141

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

4747
# ℹ️ Command-line programs to run using the OS shell.
4848
# 📚 https://git.io/JvXDl
@@ -56,4 +56,4 @@ jobs:
5656
# make release
5757

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

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Build source distribution
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2121
with:
2222
submodules: true
2323
persist-credentials: false
@@ -28,7 +28,7 @@ jobs:
2828
- name: Build
2929
run: uv build
3030

31-
- uses: actions/upload-artifact@v6
31+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3232
with:
3333
path: |
3434
dist/*.tar.gz
@@ -42,7 +42,7 @@ jobs:
4242
id-token: write
4343
if: github.event_name == 'release' && github.event.action == 'published'
4444
steps:
45-
- uses: actions/download-artifact@v7
45+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
4646
with:
4747
name: artifact
4848
path: dist

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
env: ["3.10", 3.11, 3.12, 3.13, 3.14]
1919
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
2020
steps:
21-
- uses: actions/checkout@v6
21+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222
with:
2323
submodules: true
2424
persist-credentials: false

.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)