Compare commits

...

2 Commits

Author SHA1 Message Date
Vincent Koc
ec7f04a1a4
docs: note codeql coverage
Some checks failed
CodeQL / analyze (push) Has been cancelled
2026-05-05 19:36:17 -07:00
Vincent Koc
ae560b3fd6
ci: add codeql analysis 2026-05-05 19:36:16 -07:00
2 changed files with 40 additions and 0 deletions

38
.github/workflows/codeql.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: CodeQL
on:
pull_request:
push:
branches:
- main
- ci/codeql-control-gates
schedule:
- cron: "43 4 * * 1"
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: analyze
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4

View File

@ -14,6 +14,8 @@
### Maintenance
- Add CodeQL analysis on pull requests, `main`, the CI preview branch, weekly
schedule, and manual dispatch.
- Document the read-only `metadata --json`, `status --json`, and
`doctor --json` control surface for launchers, automation, and CI checks.