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:
miracle091 2021-02-08 17:17:23 +01:00 committed by Frank Denis
parent b131708cd6
commit 1795c7be3a
1 changed files with 2 additions and 5 deletions

View File

@ -7,8 +7,8 @@ on:
- cron: '0 14 * * 6'
jobs:
CodeQL-Build:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
@ -16,9 +16,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 2
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v1