Skip to content

Commit 9a8765c

Browse files
authoredJul 11, 2022
ci(codeql): remove git checkout HEAD^2 (#486)
1 parent d000a0a commit 9a8765c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed
 

‎.github/workflows/codeql-analysis.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ jobs:
2323
# We must fetch at least the immediate parents so that if this is
2424
# a pull request then we can checkout the head.
2525
fetch-depth: 2
26-
27-
# If this run was triggered by a pull request event, then checkout
28-
# the head of the pull request instead of the merge commit.
29-
- run: git checkout HEAD^2
30-
if: ${{ github.event_name == 'pull_request' }}
31-
26+
3227
# Initializes the CodeQL tools for scanning.
3328
- name: Initialize CodeQL
3429
uses: github/codeql-action/init@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2

0 commit comments

Comments
 (0)
Please sign in to comment.