From 39c26986d78b7d0078461f7985f694ac4a29a7f1 Mon Sep 17 00:00:00 2001 From: pasichdev Date: Tue, 10 Nov 2026 11:51:39 +0200 Subject: [PATCH] ci: run codeql on every pull request Scorecard's SAST check counts every change merged into main that has no CodeQL result. The analysis takes a few minutes, so the path filter saved little. --- .github/workflows/codeql.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f7f686a..97d015f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,16 +7,15 @@ name: codeql # Kotlin is not analysed: CodeQL supports Kotlin up to 2.4.20 and this project is on 2.4.21. When the # supported range reaches the project's version, add `java-kotlin` with `build-mode: manual` and a # step that runs `./gradlew :sealite:compileKotlinJvm` against a prebuilt-natives directory. +# +# Every pull request is analysed, not only those touching the glue, so each change merged into main +# carries a CodeQL result (OpenSSF Scorecard's SAST check counts merged changes without one). on: push: branches: [main] pull_request: branches: [main] - paths: - - 'sealite/src/native/**' - - '.github/codeql/**' - - '.github/workflows/codeql.yml' schedule: - cron: '23 4 * * 1'