Skip to content

Commit d3285a0

Browse files
authored
Merge pull request #297 from github/rneatherway-patch-1
Change suggested workflow to analyse merge commit
2 parents 409b71a + 988704e commit d3285a0

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ jobs:
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@v2
44-
with:
45-
# Must fetch at least the immediate parents so that if this is
46-
# a pull request then we can checkout the head of the pull request.
47-
# Only include this option if you are running this workflow on pull requests.
48-
fetch-depth: 2
49-
50-
# If this run was triggered by a pull request event then checkout
51-
# the head of the pull request instead of the merge commit.
52-
# Only include this step if you are running this workflow on pull requests.
53-
- run: git checkout HEAD^2
54-
if: ${{ github.event_name == 'pull_request' }}
5544

5645
# Initializes the CodeQL tools for scanning.
5746
- name: Initialize CodeQL

0 commit comments

Comments
 (0)