]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update CodeQL Action (#32452)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 15 Dec 2020 07:14:03 +0000 (09:14 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Dec 2020 07:14:03 +0000 (09:14 +0200)
.github/workflows/codeql.yml

index f9dccfce030234ad28aaa07f62fe1dc56f1f4677..469a5a4fc4e40c54444c149dfe466ef62019737a 100644 (file)
@@ -22,15 +22,6 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
-        with:
-          # We must fetch at least the immediate parents so that if this is
-          # 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