summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-07 23:40:01 +0300
committerValery Piashchynski <[email protected]>2021-06-07 23:40:01 +0300
commit20da67889c6743d0d7efc5027372331145d57d96 (patch)
tree3dc084ba0ad0fe0e2cea7e483eae622177c744fb
parentafbb2716796f47939fddbcde1db5b0f1632e2bd7 (diff)
- Remove git checkout HEAD2 from the CodeQL as no longer necessary
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r--.github/workflows/codeql-analysis.yml5
1 files changed, 0 insertions, 5 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index c685aee1..dc4a2349 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -36,11 +36,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