diff options
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0ce553c..efe9746 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml | |||
| @@ -36,11 +36,6 @@ jobs: | |||
| 36 | # a pull request then we can checkout the head. | 36 | # a pull request then we can checkout the head. |
| 37 | fetch-depth: 2 | 37 | fetch-depth: 2 |
| 38 | 38 | ||
| 39 | # If this run was triggered by a pull request event, then checkout | ||
| 40 | # the head of the pull request instead of the merge commit. | ||
| 41 | - run: git checkout HEAD^2 | ||
| 42 | if: ${{ github.event_name == 'pull_request' }} | ||
| 43 | |||
| 44 | # Initializes the CodeQL tools for scanning. | 39 | # Initializes the CodeQL tools for scanning. |
| 45 | - name: Initialize CodeQL | 40 | - name: Initialize CodeQL |
| 46 | uses: github/codeql-action/init@v1 | 41 | uses: github/codeql-action/init@v1 |
