GitGuard
This tool enforces custom policy rules on GitHub pull requests without writing scripts or maintaining custom GitHub Actions, providing the branch-protection customization GitHub's built-in options lack. Example rules include making frontend tests pass when frontend code changes, or requiring two approvals only when no test files are added.
What it addresses
GitHub's built-in branch protections lack customization, and enforcing custom PR rules normally requires writing scripts or maintaining custom Actions.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
GitGuard
This tool enforces custom policy rules on GitHub pull requests without writing scripts or maintaining custom GitHub Actions, providing the branch-protection customization GitHub's built-in options lack. Example rules include making frontend tests pass when frontend code changes, or requiring two approvals only when no test files are added.
Problem: GitHub's built-in branch protections lack customization, and enforcing custom PR rules normally requires writing scripts or maintaining custom Actions.
Posted by @habosa · Original source ↗
Source text · @habosa · · Source ↗
Basically it’s a way to enforce custom policy rules on GitHub PRs without writing any scripts or maintaining any custom Actions. It’s got all of the customization that you wish GitHub’s built in branch protections had.
GitGuard
This tool provides a flexible way to write approval rules and workflows for GitHub pull requests, similar to GitHub branch protections but with the power of a small programming language.
Posted by @habosa · Original source ↗
Source text · @habosa · · Source ↗
Lately I've been working on GitGuard (https://gitguard.dev/) which is a flexible way to write approval rules / workflows for your GitHub PRs. Think GitHub's branch protections but with the power of a toy programming language.