Advanced approval workflows for GitHub PRs
GitGuard lets you combine conditions, variables, and assertions to create custom approval logic in a simple but expressive DSL.
# When a PR has fewer than 10 files and 100 lines,
# only require one approval.
# Make sure hotfix/emergency PRs have approval
# from the right people.
# Require that certain checks pass depending on the
# names of the files in the PR
# If any tsx file in the components directory
# is changed, ensure that a components test file
# is also changed.
Ready to get started?
Start your 30-day free trial, no credit card needed
How does it work?
GitGuard is the missing middle ground between GitHub's basic branch protections and fully custom CI checks. You can codify company requiements and best practices as GitGuard workflows to make sure only the right PRs get merged.
GitGuard is a GitHub app that runs as a "check" on your Pull Requests. If all conditions are met, the check passes. GitGuard checks are nearly instant, no need to wait for your CI service to spin up a VM.
Give it a try!
Try building your first workflow right here. It's so simple you'll probably be able to figure it out on your own. But if you're confused, check out the
documentation.