Skip to content

Add CodeQL static analysis workflow #298

Description

@danbaruka

Summary

Gap: CodeQL is still not configured; tracked as a follow-up so static analysis covers more than dependency alerts.

Context

We now have Dependabot active for npm + GitHub Actions, and npm audit on main is down to 0 after recent remediation work. Dependency scanning alone is not enough — CodeQL would add SAST coverage for the website (JS/TS) and workflow/config surfaces.

Related recent work:

Proposal

  1. Add a GitHub Actions CodeQL workflow under .github/workflows/ (e.g. codeql.yml).
  2. Enable analysis for javascript-typescript (primary stack for website/).
  3. Run on:
    • push to main
    • pull_request targeting main
    • weekly schedule (recommended default)
  4. Confirm results appear under the repo Security → Code scanning tab.
  5. Optionally tune query suite (security-extended / default) once baseline noise is understood.

Acceptance criteria

  • CodeQL workflow merged and running green on main
  • Code scanning alerts visible in GitHub Security
  • Docs/notes updated if triage process should mention CodeQL alongside Dependabot (TRIAGE.md if appropriate)

Priority

Medium — closes a known maintainer security gap after dependency remediation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions