Skip to content

Commit 2502986

Browse files
committed
codeql: git checkout HEAD^2 is no longer necessary
1 parent 2dd7df5 commit 2502986

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v2
19-
with:
20-
# We must fetch at least the immediate parents so that if this is
21-
# a pull request then we can checkout the head.
22-
fetch-depth: 2
23-
24-
# If this run was triggered by a pull request event, then checkout
25-
# the head of the pull request instead of the merge commit.
26-
- run: git checkout HEAD^2
27-
if: ${{ github.event_name == 'pull_request' }}
2819

2920
# Initializes the CodeQL tools for scanning.
3021
- name: Initialize CodeQL

0 commit comments

Comments
 (0)