Skip to content

Commit 4a57d93

Browse files
committed
CodeQL workflow minor improvement
1 parent 801454a commit 4a57d93

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ jobs:
3636
# a pull request then we can checkout the head.
3737
fetch-depth: 2
3838

39-
# If this run was triggered by a pull request event, then checkout
40-
# the head of the pull request instead of the merge commit.
41-
- run: git checkout HEAD^2
42-
if: ${{ github.event_name == 'pull_request' }}
43-
4439
# Initializes the CodeQL tools for scanning.
4540
- name: Initialize CodeQL
4641
uses: github/codeql-action/init@v4

0 commit comments

Comments
 (0)