Quickstart
Add verified AI pull-request reviews to a GitHub Actions workflow.
Loading documentation…
Add Heyo Code Audit to a workflow that runs on pull_request. The Action needs
the full Git history to compare the pull request, permission to create a Check
and review comments, and a secret for the selected model provider.
For this OpenAI example, create an OPENAI_API_KEY Actions secret in the
repository or organization. The token remains a GitHub secret and is passed
to Pi only for the chosen provider.
Create .github/workflows/heyo-code-audit.yml:
Use @v1 for the newest compatible stable release. Pin an immutable
release, for example @v1.1.1, if your supply-chain policy requires an
exact version.
Heyo publishes a Check and, by default, an inline review. A failure Check
conclusion means at least one verified finding met the configured fail-on
threshold, which defaults to high.
Heyo intentionally supports pull_request only. This prevents
untrusted fork code from running with elevated repository credentials.