Skip to content

Commit 756cc0a

Browse files
authored
upgrade codeql (#279)
1 parent dcaec01 commit 756cc0a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ jobs:
1919
# a pull request then we can checkout the head.
2020
fetch-depth: 2
2121

22-
# If this run was triggered by a pull request event, then checkout
23-
# the head of the pull request instead of the merge commit.
24-
- run: git checkout HEAD^2
25-
if: ${{ github.event_name == 'pull_request' }}
26-
2722
# Initializes the CodeQL tools for scanning.
2823
- name: Initialize CodeQL
2924
uses: github/codeql-action/init@v1
@@ -34,7 +29,7 @@ jobs:
3429
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3530
# If this step fails, then you should remove it and run the build manually (see below)
3631
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v1
32+
uses: github/codeql-action/autobuild@v2
3833

3934
# ℹ️ Command-line programs to run using the OS shell.
4035
# 📚 https://git.io/JvXDl
@@ -48,4 +43,4 @@ jobs:
4843
# make release
4944

5045
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v1
46+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)