]> nmode's Git Repositories - signal-cli/commitdiff
Remove unnecessary step from codeql analysis
authorAsamK <asamk@gmx.de>
Wed, 8 Sep 2021 18:53:01 +0000 (20:53 +0200)
committerAsamK <asamk@gmx.de>
Wed, 8 Sep 2021 18:53:01 +0000 (20:53 +0200)
.github/workflows/codeql-analysis.yml

index 8e91e580387a0549a3386958e2e95694e76c6bc0..c55e656db3035e5fc6bd335a87507abae500c625 100644 (file)
@@ -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