From 98c0aae504cb4790649d6e52ec40c0ec58592bc0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 13 Dec 2020 08:45:33 +0200 Subject: [PATCH 1/2] Update codeql.yml --- .github/workflows/codeql.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f9dccfce0302..ce17f7f7dbc8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,11 +27,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 From a1522fb73cfc75754ca9d58be0889e9b53f20642 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 13 Dec 2020 08:46:50 +0200 Subject: [PATCH 2/2] Update codeql.yml --- .github/workflows/codeql.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ce17f7f7dbc8..469a5a4fc4e4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,10 +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 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL