From 4af8bbb4c56b9126c6ff761683ab5b6d06a82517 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Sun, 25 Jan 2026 17:59:37 +0100 Subject: [PATCH] CodeQL via GitHub Action --- .github/workflows/codeql-analysis.yaml | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yaml diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml new file mode 100644 index 0000000..9d5138e --- /dev/null +++ b/.github/workflows/codeql-analysis.yaml @@ -0,0 +1,36 @@ +name: "CodeQL" + +on: + push: + branches: [ main ] + schedule: + - cron: '38 4 * * 3' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'cpp' ] + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v4 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4 \ No newline at end of file -- 2.43.0