From cbe061c2f4b55bafa0940aecb3a0bc164de7805b Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 8 Apr 2021 07:28:37 +0900 Subject: codeql-analysis.yml: remove `git checkout HEAD^2`. According to CodeQL instruction, `HEAD^2` is no longer needed. --- .github/workflows/codeql-analysis.yml | 5 ----- 1 file changed, 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ea9f9bd8e..75f80a558 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,11 +19,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 -- cgit v1.2.3