]> nmode's Git Repositories - signal-cli/blobdiff - .github/workflows/codeql-analysis.yml
Remove unnecessary step from codeql analysis
[signal-cli] / .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
 
           # 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
       # Initializes the CodeQL tools for scanning.
       - name: Initialize CodeQL
         uses: github/codeql-action/init@v1