diff options
| author | 2021-09-17 10:02:30 +0200 | |
|---|---|---|
| committer | 2021-09-17 10:02:30 +0200 | |
| commit | 97d46c92ba1657f6f0287cc83d4ec8ed1a2c6903 (patch) | |
| tree | 0151d3ebd51e9795f5b56d4d124ce395a07c9376 | |
| parent | 677b0c03f8fca937f6b16da3341602637d092179 (diff) | |
| download | libplist-97d46c92ba1657f6f0287cc83d4ec8ed1a2c6903.tar.gz libplist-97d46c92ba1657f6f0287cc83d4ec8ed1a2c6903.tar.bz2 | |
[github-actions] Remove git checkout HEAD^2 step for CodeQL
| -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 |
