Skip to content

Commit 6c54695

Browse files
authored
Merge pull request #2494 from DataDog/xgouchet/pin_github_actions
Pin github actions to exact commit hash
2 parents 6a6d48a + 31b0be0 commit 6c54695

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3030

3131
- name: Setup Java 17
32-
uses: actions/setup-java@v4
32+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
3333
with:
3434
distribution: 'zulu'
3535
java-version: 17
3636

3737
# Initializes the CodeQL tools for scanning.
3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@v3
39+
uses: github/codeql-action/init@17a820bf2e43b47be2c72b39cc905417bc1ab6d0 # v3.28.6
4040
with:
4141
languages: ${{ matrix.language }}
4242
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -47,7 +47,7 @@ jobs:
4747

4848

4949
- name: Setup Gradle
50-
uses: gradle/actions/setup-gradle@v3
50+
uses: gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
5151
with:
5252
gradle-version: 8.1.1
5353

@@ -57,6 +57,6 @@ jobs:
5757

5858
# Perform the analysis
5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v3
60+
uses: github/codeql-action/analyze@17a820bf2e43b47be2c72b39cc905417bc1ab6d0 # v3.28.6
6161
with:
6262
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)