Skip to content

Commit 0323ddc

Browse files
Merge pull request #237 from CERTCC/copilot/update-github-actions-workflows
Pin workflow action references to immutable commit SHAs
2 parents 4789991 + c255856 commit 0323ddc

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
45+
uses: github/codeql-action/init@6f5948dfacef28e207b48d0905cf90c03365536d # v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
5656
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5757
# If this step fails, then you should remove it and run the build manually (see below)
5858
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v3
59+
uses: github/codeql-action/autobuild@6f5948dfacef28e207b48d0905cf90c03365536d # v3
6060

6161
# Command-line programs to run using the OS shell.
6262
# See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -69,4 +69,4 @@ jobs:
6969
# ./location_of_script_within_repo/buildscript.sh
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v3
72+
uses: github/codeql-action/analyze@6f5948dfacef28e207b48d0905cf90c03365536d # v3

.github/workflows/pr-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
steps:
6262
- name: Check out repository
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
6464

6565
- name: Generate ephemeral test secrets
6666
run: |
@@ -70,7 +70,7 @@ jobs:
7070
echo "GOOGLE_RECAPTCHA_SECRET_KEY=ci-ephemeral-recaptcha-key" >> $GITHUB_ENV
7171
7272
- name: Set up Python
73-
uses: actions/setup-python@v5
73+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
7474
with:
7575
python-version: "3.11"
7676
cache: pip
@@ -124,4 +124,3 @@ jobs:
124124
125125
- name: Run all tests vince and vinny
126126
run: python manage.py test vince vinny --verbosity=2
127-

0 commit comments

Comments
 (0)