From: AsamK Date: Wed, 8 Sep 2021 18:53:01 +0000 (+0200) Subject: Remove unnecessary step from codeql analysis X-Git-Tag: v0.9.0~13 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/0e6644a8903acb13a72622548d663eeee1c6a762 Remove unnecessary step from codeql analysis --- diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8e91e580..c55e656d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -28,11 +28,6 @@ jobs: # a pull request then we can checkout the head. 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' }} - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1