Pipeline guardrailsNo change merges unchecked
AI-reviewed pull request pipeline
A small kit that adds the same pull request pipeline to any of my repos: automated checks, an AI code review, a security review and a gate before merging.
- For
- Open source, my own tool
- Year
- 2026
- Status
- In use, public
- Pull request
A change is opened
- Checks
Lint, types, tests, build, secret scan, package audit
- AI code review
Comments on the code and sets a risk level
- Security review
A second AI pass, only for security
- Gate
All green, all threads resolved, up to date with main
Problem
When AI agents write a lot of the code, I want every change checked the same way before it reaches main, without doing it all by hand.
What I built
Shared workflows for lint, types, tests, build, secret scanning and package audits. An AI review that comments on the pull request and sets a risk level. A gate that merges low-risk changes on its own. The rest wait for my approval on GitHub, and Slack tells me when.
Result
Public under the MIT licence. It runs on my newer repos, and every new repo gets it from the start.
Stack
- GitHub Actions
- Claude Code
- gitleaks
- actionlint
- shellcheck
- Slack API
- Bash