Skip to content

[Feature]: reusable codeql workflow, verified via the testbed #57

Open

Description

@seantronsen

Describe the feature

A reusable codeql workflow that runs CodeQL analysis (static analysis of the repo's own code) on pull requests, pushes to the default branch, and a schedule, with results uploaded to code scanning. Confirm it end to end via the testbed.

Depends on #56: fork PR support relies on SARIF uploads working with a fork's read-only token.

Why do you want this feature?

None of our current scanners analyze the repo's own source: govulncheck and Trivy cover known CVEs in dependencies and images, zizmor covers workflows, and scorecard covers repo practices. CodeQL today comes only from per-repo default setup, which is toggled by hand (the testbed and this repo have none), isn't versioned or reviewable, and never runs on fork PRs. That last gap blocks fork PRs in repos whose rulesets require CodeQL (OpenCHAMI/ochami#214).

Alternatives you've considered

Additional context

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions