From 531508c824c4b7b3b31c71fdd3b46ddda98391fd Mon Sep 17 00:00:00 2001 From: Sean Coughlin Date: Wed, 25 Jun 2025 10:42:54 -0500 Subject: [PATCH] Create codeql-analysis.yaml --- .github/workflows/codeql-analysis.yaml | 38 ++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yaml diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml new file mode 100644 index 0000000..9a11e7b --- /dev/null +++ b/.github/workflows/codeql-analysis.yaml @@ -0,0 +1,38 @@ +name: "CodeQL Analysis" + +on: + push: + branches: [main, master] + pull_request: + branches: [main, master] + schedule: + - cron: "0 16 * * 1" # Run at 16:00 UTC on Mondays + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: ["javascript"] + + steps: + - name: Checkout repository + 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