mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Don't use HEAD^2 in codeql anymore
> 1 issue was detected with this workflow: git checkout HEAD^2 is no > longer necessary. Please remove this step as Code Scanning recommends > analyzing the merge commit for best results. https://github.com/ddnet/ddnet/actions/runs/931568951
This commit is contained in:
parent
6388002467
commit
7dd4b5e1a9
5
.github/workflows/codeql-analysis.yaml
vendored
5
.github/workflows/codeql-analysis.yaml
vendored
|
@ -37,11 +37,6 @@ jobs:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
# 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' }}
|
|
||||||
|
|
||||||
- name: Prepare Linux
|
- name: Prepare Linux
|
||||||
if: matrix.language == 'cpp'
|
if: matrix.language == 'cpp'
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue