From 7d5671277cc7615d90c1379ff881dec90f66cdf4 Mon Sep 17 00:00:00 2001 From: Damon Blais Date: Fri, 20 Nov 2026 00:26:03 -0700 Subject: [PATCH 1/3] ci(codeql): runs on demand and states the security-and-quality query suite, as canon's repo-settings pattern asks --- .github/workflows/codeql.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ab03ed3..82fe040 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -6,6 +6,7 @@ on: pull_request: schedule: - cron: "17 5 * * 1" + workflow_dispatch: permissions: {} concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -30,6 +31,7 @@ jobs: - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: languages: ${{ matrix.language }} + queries: security-and-quality - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: category: /language:${{ matrix.language }} From ef9f0e1518b8d8299eba8963b858e68fdb0d3685 Mon Sep 17 00:00:00 2001 From: Damon Blais Date: Fri, 20 Nov 2026 00:26:13 -0700 Subject: [PATCH 2/3] ci(codeql): the language matrix is an include list with each language's build mode, as canon's template has it --- .github/workflows/codeql.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 82fe040..f98987b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,7 +23,9 @@ jobs: fail-fast: false matrix: # Add the repository's own languages here; "actions" scans these workflows. - language: [actions] + include: + - language: actions + build-mode: none steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -31,6 +33,7 @@ jobs: - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} queries: security-and-quality - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 with: From afd261d1fdd9f6da6381f8fcf916db9104077090 Mon Sep 17 00:00:00 2001 From: Damon Blais Date: Fri, 20 Nov 2026 00:47:05 -0700 Subject: [PATCH 3/3] ci(codeql): the job is named Analyze (language), as canon's template and the required check have it --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f98987b..691fc79 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,6 +13,7 @@ concurrency: cancel-in-progress: true jobs: analyze: + name: Analyze (${{ matrix.language }}) runs-on: ubuntu-latest timeout-minutes: 60 permissions: