From 2e553f2d475dded7c38056a3c8ec31adee00fc15 Mon Sep 17 00:00:00 2001 From: arpannookala-12 Date: Mon, 30 Mar 2026 14:17:47 -0500 Subject: [PATCH] Update code-scans.yaml --- .github/workflows/code-scans.yaml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/code-scans.yaml b/.github/workflows/code-scans.yaml index 940d9b7..16b70f9 100644 --- a/.github/workflows/code-scans.yaml +++ b/.github/workflows/code-scans.yaml @@ -102,3 +102,35 @@ jobs: name: bandit-report path: bandit-report.html retention-days: 30 + + +# ----------------------------- +# 3) CodeQL Analysis +# ----------------------------- + codeql_scan: + name: CodeQL Analysis + runs-on: ubuntu-latest + permissions: + security-events: write + contents: read + actions: read + strategy: + fail-fast: false + matrix: + language: [ 'python', 'javascript' ] + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}"