policy-bot
policy-bot copied to clipboard
A GitHub App that enforces approval policies on pull requests
GitHub branch protection rules and rulesets [count skipped jobs as "success"](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks). Given GitHub's underpowered required checks config, this "feature" is commonly used with [path filtering](https://github.com/dorny/paths-filter) to avoid running unnecessary jobs...
### Situation We are running into limitations with policy bot and would like a new feature. Given 2 PRs which should each trigger a rule specific to them - PR...
At my company, the need arose for a condition that returns true if the PR does not have a (specific) label. For this, it would be useful to have a...
Looking at `IsActor`, it looks like it doesn't actually use the first `ctx` argument. If you want to simplify this and avoid passing a `context.Context` around, I think we could...
The `has_successful_status` predicate currently requires predicates to be present and successful in order to pass. But workflows can be run conditionally - for example only if certain paths change -...
I discovered today that the connecting lines on the details page are broken when hiding skipped rules if some of the rules are in the error state: