Skip to content

Commit d5aa41f

Browse files
authored
Merge pull request #524 from django-haystack/CodeQL-git-checkout-HEAD2-is-no-longer-necessary
CodeQL: git checkout HEAD^2 is no longer necessary
2 parents 9243537 + a817dc4 commit d5aa41f

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
@@ -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@v4

0 commit comments

Comments
 (0)