Skip to content

Commit b81ab80

Browse files
authored
ci(codeql): remove git checkout HEAD^2 (#414)
1 parent d402197 commit b81ab80

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ 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
3227
uses: github/codeql-action/init@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2

0 commit comments

Comments
 (0)