Update CodeQL action according to latest guidance.

This commit is contained in:
David Anson 2021-04-04 14:43:21 -07:00
parent dbb3f3accf
commit 6302b26c99

View file

@ -20,11 +20,6 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
fetch-depth: 2
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v1