Skip to content

Commit

Permalink
Start analysing merge commit for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Neatherway authored and GitHub committed Oct 13, 2020
1 parent b1e2c9b commit f79717f
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 f79717f

Please sign in to comment.