mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-12-02 14:05:43 -05:00
CodeQL scan merge commit instead of PR head
Removes runtime warning
This commit is contained in:
parent
9436bab829
commit
a318ff3d07
1 changed files with 3 additions and 2 deletions
5
.github/workflows/codeql-analysis.yml
vendored
5
.github/workflows/codeql-analysis.yml
vendored
|
@ -38,8 +38,9 @@ jobs:
|
|||
|
||||
# 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' }}
|
||||
# CodeQL apparently deprecated this feature and now warns on running this command
|
||||
# - run: git checkout HEAD^2
|
||||
# if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
|
|
Loading…
Reference in a new issue