A pyrig plugin that integrates GitHub CodeQL.
pyrig-codeql is a pyrig plugin that adds
GitHub CodeQL analysis to your project's health-check workflow.
- CodeQL analysis — analyzes Python and GitHub Actions code.
- Health-check integration — adds CodeQL to the aggregate health-check gate.
- Alert gate — fails the health-check workflow if the analyzed ref has any open CodeQL security or quality alerts, including existing findings. Fixed and dismissed alerts do not block the check.
- Source-only analysis — excludes the project's
tests/directory from CodeQL analysis.
Add the plugin as a development dependency, then synchronize your project:
uv add pyrig-codeql --dev
uv run pyrig syncThe plugin requires Python 3.12 or newer.
Full documentation, including the auto-generated API reference, is available on the documentation site.