From f3df0918019f7ab71e2ee63f9d8f7b417a00caff Mon Sep 17 00:00:00 2001 From: 2pk03 Date: Fri, 27 Feb 2026 11:29:29 +0100 Subject: [PATCH 1/3] ci: add explicit CodeQL workflow for PR and push --- .github/workflows/codeql.yml | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..1352106 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,46 @@ +name: CodeQL + +on: + push: + branches: + - main + pull_request: + branches: + - main + workflow_dispatch: + +permissions: + actions: read + contents: read + security-events: write + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + language: + - go + - javascript-typescript + - python + - actions + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + query-filters: security-extended,security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v4 + + - name: Analyze + uses: github/codeql-action/analyze@v4 + with: + category: "/language:${{ matrix.language }}" From 4ce84681d48e2326106a76ceac98742370fe2533 Mon Sep 17 00:00:00 2001 From: 2pk03 Date: Fri, 27 Feb 2026 11:32:27 +0100 Subject: [PATCH 2/3] ci: add Apache header to codeql workflow --- .github/workflows/codeql.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1352106..b379c17 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,3 +1,18 @@ +# Copyright 2025 Alexander Alten (novatechflow), NovaTechflow (novatechflow.com). +# This project is supported and financed by Scalytics, Inc. (www.scalytics.io). +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + name: CodeQL on: From 3d117bca003eafde394364fa90286c3705e22e2e Mon Sep 17 00:00:00 2001 From: Alexander Alten Date: Mon, 2 Mar 2026 10:02:13 +0100 Subject: [PATCH 3/3] Update .github/workflows/codeql.yml Co-authored-by: Nico Duldhardt <36307788+klaudworks@users.noreply.github.com> --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b379c17..8361a10 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -50,7 +50,7 @@ jobs: uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} - query-filters: security-extended,security-and-quality + queries: security-extended,security-and-quality - name: Autobuild uses: github/codeql-action/autobuild@v4