From beef45bb5851b9c4b017dfe6b2247a192c05faab Mon Sep 17 00:00:00 2001 From: saso badovinac Date: Tue, 20 May 2025 12:19:22 +0200 Subject: [PATCH] Update codeql.yml Testing cpp scan on pull requests (will probably run for too long) --- .github/workflows/codeql.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9c81d91c86..19d3c99418 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -17,7 +17,7 @@ on: pull_request: branches: [ "main" ] schedule: - - cron: '28 12 * * 0' + - cron: '28 12 * * 6' env: CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false @@ -50,7 +50,7 @@ jobs: matrix: include: # - language: actions - # build-mode: none + # build-mode: none # - language: c-cpp # build-mode: autobuild # - language: javascript-typescript @@ -129,7 +129,7 @@ jobs: analyze-cpp: name: Analyze (${{ matrix.language }}) - if: github.event_name == 'schedule' + if: ${{ (github.event_name == 'schedule' || 'pull_request') }} # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql # - https://gh.io/supported-runners-and-hardware-resources