palantir / policy-bot

A GitHub App that enforces approval policies on pull requests
Apache License 2.0
765 stars 102 forks source link

Use PR comments to trigger policy validation #144

Open bluekeyes opened 4 years ago

bluekeyes commented 4 years ago

It would be really sweet if I could leave a comment on a PR to ask policy bot to do the validation and post back whether it is valid

Originally posted by @ferozco in https://github.com/palantir/policy-bot/pull/142#issuecomment-564183443

dtrejod commented 4 years ago

+1 here 🙏

While the new validation endpoint is nice, it isn't actively being used internally. Ran into an issue today where a bad policy was merged blocking all PR merges until we could track down the admins.

NargiT commented 3 years ago

We use it with our CI, even the repo where policy files are stored is validate by the running policy server. policinception but this is also a nice feature.