From 326bb74f83a98ab865e03be36993186f458e1af0 Mon Sep 17 00:00:00 2001 From: vamsi-cf <104775415+forged-request@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:09:26 +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 0000000..de95c07 --- /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