Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 11252d0

Browse files
authored
[ACS-4413] upgrade CodeQL to v2 (#1493)
1 parent ddc565f commit 11252d0

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,17 @@ jobs:
2222
# a pull request then we can checkout the head.
2323
fetch-depth: 2
2424

25-
# If this run was triggered by a pull request event, then checkout
26-
# the head of the pull request instead of the merge commit.
27-
- run: git checkout HEAD^2
28-
if: ${{ github.event_name == 'pull_request' }}
29-
3025
# Initializes the CodeQL tools for scanning.
3126
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
27+
uses: github/codeql-action/init@v2
3328
# Override language selection by uncommenting this and choosing your languages
3429
with:
3530
languages: javascript
3631

3732
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3833
# If this step fails, then you should remove it and run the build manually (see below)
3934
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
35+
uses: github/codeql-action/autobuild@v2
4136

4237
# ℹ️ Command-line programs to run using the OS shell.
4338
# 📚 https://git.io/JvXDl
@@ -51,4 +46,4 @@ jobs:
5146
# make release
5247

5348
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v1
49+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)