From 08cd2b61060ed46a41751ca2d3c7a179cc74f152 Mon Sep 17 00:00:00 2001 From: Dawid Tworkowski Date: Thu, 16 Jan 2025 15:20:20 +0100 Subject: [PATCH] removed redundant job, added fetch-depth:0 --- .github/workflows/codeql-analysis.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d5f0e1743d..08b4193826 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -24,6 +24,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4.2.2 + with: + fetch-depth: 0 - name: Check for ignored paths id: check @@ -74,12 +76,3 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1 - - mark-passed: - needs: check-paths - if: needs.check-paths.outputs.skip_codeql == 'true' - runs-on: ubuntu-latest - - steps: - - name: Mark CodeQL as passed - run: echo "CodeQL check passed as changes are in ignored paths"