Skip to content

Commit 20223db

Browse files
authored
Pin CodeQL action versions to commit hashes (#92)
1 parent 8fd84ed commit 20223db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5959
steps:
6060
- name: Checkout repository
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6262

6363
# Add any setup steps before running the `github/codeql-action/init` action.
6464
# This includes steps like installing compilers or runtimes (`actions/setup-node`
@@ -68,7 +68,7 @@ jobs:
6868

6969
# Initializes the CodeQL tools for scanning.
7070
- name: Initialize CodeQL
71-
uses: github/codeql-action/init@v4
71+
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
7272
with:
7373
languages: ${{ matrix.language }}
7474
build-mode: ${{ matrix.build-mode }}
@@ -97,6 +97,6 @@ jobs:
9797
exit 1
9898
9999
- name: Perform CodeQL Analysis
100-
uses: github/codeql-action/analyze@v4
100+
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
101101
with:
102102
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)