Skip to content

Commit 823b196

Browse files
committed
codeql: remove git checkout HEAD^2 as requested
1 parent f4ec072 commit 823b196

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/codeql-analysis.yml

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

31-
# If this run was triggered by a pull request event, then checkout
32-
# the head of the pull request instead of the merge commit.
33-
- run: git checkout HEAD^2
34-
if: ${{ github.event_name == 'pull_request' }}
35-
3631
# Initializes the CodeQL tools for scanning.
3732
- name: Initialize CodeQL
3833
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)