Update codeql-analysis.yml (#1612)
using a custom name for the job and removed a step not more needed Signed-off-by: Frank Denis <github@pureftpd.org>
This commit is contained in:
parent
b131708cd6
commit
1795c7be3a
|
@ -7,8 +7,8 @@ on:
|
||||||
- cron: '0 14 * * 6'
|
- cron: '0 14 * * 6'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CodeQL-Build:
|
analyze:
|
||||||
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -16,9 +16,6 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
- run: git checkout HEAD^2
|
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v1
|
uses: github/codeql-action/init@v1
|
||||||
|
|
Loading…
Reference in New Issue