1
0
Fork 0
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:
Raymond Li 2021-01-25 22:57:33 -05:00 committed by GitHub
parent 9436bab829
commit a318ff3d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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