Skip to content

Commit

Permalink
Merge pull request #264 from github/rneatherway-patch-1
Browse files Browse the repository at this point in the history
Start analysing merge commit for PRs
  • Loading branch information
Robin Neatherway authored and GitHub committed Oct 13, 2020
2 parents bc19613 + f813ad0 commit cdfffe8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
# Must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head of the pull request.
fetch-depth: 2

# If this run was triggered by a pull request event then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

- uses: ./init
with:
languages: javascript
Expand Down

0 comments on commit cdfffe8

Please sign in to comment.