From 1795c7be3ac8acec318129123edcd1157ad534c1 Mon Sep 17 00:00:00 2001 From: miracle091 Date: Mon, 8 Feb 2021 17:17:23 +0100 Subject: [PATCH] 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/workflows/codeql-analysis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a67ad7a8..9bb6734d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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