Update codeql.yml

disable cpp scan on pull requests and enable actions scan
This commit is contained in:
saso badovinac
2025-05-22 22:50:42 +02:00
committed by Benjamin Nauck
parent e4eeb66626
commit a969f31573

View File

@@ -49,8 +49,8 @@ jobs:
fail-fast: false
matrix:
include:
# - language: actions
# build-mode: none
- language: actions
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' || 'pull_request') }}
if: github.event_name == 'schedule'
# 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