From 11cc4fcdf7631d55b7198756a908be610173c2e4 Mon Sep 17 00:00:00 2001 From: vamsi-cf <104775415+forged-request@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:30:16 +0200 Subject: [PATCH] Add CodeQL workflow for GitHub Actions --- .github/workflows/codeql.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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 00000000..de95c079 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,32 @@ +--- +name: "CodeQL Scan for GitHub Actions Workflows" + +on: + push: + branches: [master] + paths: [".github/workflows/**"] + pull_request: + branches: [master] + paths: [".github/workflows/**"] + +jobs: + analyze: + name: Analyze GitHub Actions workflows + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + steps: + - uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: actions + + - name: Run CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: actions