From c5c5c26eaab571be9929818f52532e0803a5e906 Mon Sep 17 00:00:00 2001 From: zopen-codeql Date: Thu, 24 Sep 2026 11:42:06 +0000 Subject: [PATCH] Add CodeQL security scanning workflow --- .github/workflows/codeql.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..e74c4ce --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,29 @@ +name: "CodeQL" + +permissions: + actions: read + contents: read + security-events: write + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + schedule: + - cron: "0 0 * * 1" + workflow_dispatch: + +jobs: + codeql: + uses: zopencommunity/meta/.github/workflows/codeql.yml@main + secrets: inherit + permissions: + actions: read + contents: read + security-events: write + with: + languages: "c-cpp" + build-mode: "none" + repo: ${{ github.repository }} + branch: ${{ github.head_ref || github.ref_name }}