We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git checkout HEAD^2
1 parent d000a0a commit 9a8765cCopy full SHA for 9a8765c
.github/workflows/codeql-analysis.yml
@@ -23,12 +23,7 @@ jobs:
23
# We must fetch at least the immediate parents so that if this is
24
# a pull request then we can checkout the head.
25
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
+
32
# Initializes the CodeQL tools for scanning.
33
- name: Initialize CodeQL
34
uses: github/codeql-action/init@3f62b754e23e0dd60f91b744033e1dc1654c0ec6 # tag=v2
0 commit comments