From 19d8100049967b29301f752378d77f005965209e Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 28 Apr 2021 19:49:29 -0700 Subject: [PATCH] Following the recommendation to run on a merge commit --- .github/workflows/security.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 8686dd62a3..5a724445b4 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -23,12 +23,6 @@ jobs: # Only include this option if you are running this workflow on pull requests. 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. - # Only include this step if you are running this workflow on pull requests. - - 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