CodeQL setup
Ontographia uses a repo-managed workflow: .github/workflows/codeql-analysis.yml.
Disable GitHub Default setup (required)
You cannot run both Default setup and the workflow file. If Default setup stays enabled, uploads fail with:
One-time (repo admin):
- Open Settings → Code security and analysis
- Under Code scanning, open CodeQL analysis
- For Default setup, click Disable
- Re-run the failed CodeQL workflow on the PR
Languages scanned by the workflow: actions, python, rust (build-mode: none, no compile), go (manual cgo build).
"Advanced setup requested but no analysis uploaded for default branch"
This appears when Default setup is disabled but main has not yet received a successful run from .github/workflows/codeql-analysis.yml.
- Merge the CodeQL workflow PR (or ensure the file exists on
main). - Push to
mainor run Actions → CodeQL → Run workflow onmain. - Confirm all matrix jobs succeed (especially
Analyze (rust)).
Until step 2 completes, the Code scanning settings page will show that warning even if PR runs pass.
Related
- architecture.md — project overview
- CI:
.github/workflows/ci.yml