From 461cd7160ed54df2ff3f42ad707b71754276f248 Mon Sep 17 00:00:00 2001 From: clubanderson Date: Fri, 10 Jul 2026 00:19:58 -0400 Subject: [PATCH 1/2] Enable CodeQL workflow to run SAST analysis on all commits to main branch and pull requests. This addresses OpenSSF Scorecard alert #71 (SASTID) requiring SAST scanning on all commits. Signed-off-by: clubanderson --- .github/workflows/codeql.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 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 000000000..91d110b49 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,34 @@ +name: CodeQL Analysis + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + schedule: + - cron: '0 4 * * 1' # Weekly Monday 04:00 UTC + +permissions: + contents: read + +jobs: + analyze: + name: Analyze (javascript-typescript) + runs-on: ubuntu-latest + permissions: + contents: read + security-events: write + steps: + - name: Checkout repository + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 + with: + languages: javascript-typescript + queries: security-and-quality + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 + with: + category: "/language:javascript-typescript" From be1f902da7b545679263e68da62e58a4dc02da30 Mon Sep 17 00:00:00 2001 From: clubanderson Date: Fri, 10 Jul 2026 02:19:23 -0400 Subject: [PATCH 2/2] fix: resolve CodeQL configuration conflict with existing workflow Signed-off-by: clubanderson --- .github/workflows/codeql.yml | 1 + .github/workflows/codeql.yml.disabled | 34 --------------------------- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 .github/workflows/codeql.yml.disabled diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 91d110b49..77bd5ce98 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,6 +7,7 @@ on: branches: ["main"] schedule: - cron: '0 4 * * 1' # Weekly Monday 04:00 UTC + workflow_dispatch: permissions: contents: read diff --git a/.github/workflows/codeql.yml.disabled b/.github/workflows/codeql.yml.disabled deleted file mode 100644 index 91d110b49..000000000 --- a/.github/workflows/codeql.yml.disabled +++ /dev/null @@ -1,34 +0,0 @@ -name: CodeQL Analysis - -on: - push: - branches: ["main"] - pull_request: - branches: ["main"] - schedule: - - cron: '0 4 * * 1' # Weekly Monday 04:00 UTC - -permissions: - contents: read - -jobs: - analyze: - name: Analyze (javascript-typescript) - runs-on: ubuntu-latest - permissions: - contents: read - security-events: write - steps: - - name: Checkout repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - - - name: Initialize CodeQL - uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 - with: - languages: javascript-typescript - queries: security-and-quality - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2 - with: - category: "/language:javascript-typescript"