From 60359a89953f18ef954dfed0d54bf2b42e9e6f32 Mon Sep 17 00:00:00 2001 From: Saagar Date: Mon, 18 May 2026 05:57:14 -0700 Subject: [PATCH] ci: add CodeQL analysis --- .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..8444d98 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,32 @@ +name: CodeQL + +on: + push: + branches: ["feat/phase-3-polish-sharing-deployment"] + pull_request: + branches: ["feat/phase-3-polish-sharing-deployment"] + workflow_dispatch: + schedule: + - cron: "24 11 * * 1" + +permissions: + contents: read + security-events: write + +jobs: + analyze: + name: Analyze JavaScript and TypeScript + runs-on: ubuntu-latest + timeout-minutes: 20 + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v4 + with: + languages: javascript-typescript + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v4