Skip to content

Commit fff0858

Browse files
[StepSecurity] ci: Harden GitHub Actions (#643)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent 02f374d commit fff0858

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ 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: Harden Runner
61-
uses: step-security/[email protected]
61+
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
6262
with:
6363
egress-policy: audit
6464

6565
- name: Checkout repository
66-
uses: actions/[email protected]
66+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6767

6868
# Initializes the CodeQL tools for scanning.
6969
- name: Initialize CodeQL
70-
uses: github/codeql-action/[email protected]
70+
uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
7171
with:
7272
languages: ${{ matrix.language }}
7373
build-mode: ${{ matrix.build-mode }}
@@ -95,6 +95,6 @@ jobs:
9595
exit 1
9696
9797
- name: Perform CodeQL Analysis
98-
uses: github/codeql-action/[email protected]
98+
uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
9999
with:
100100
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)