we had used Herald to block un-reviewed differential commit on a hosted repository
Rule Type Global Applies To Commit Hook: Commit Content When all of these conditions are met: - Accepted Differential revision does not exist - Repository is any of [a list of review-required repositories]
it had worked perfectly, pushing unaccepted diffs is blocked by evil dragon bureaucrats
we realize that the rule is not working anymore, as recently there are some unreviewed pushes to the same repository
Step to reproduce:
- Create the herald rule like above that applies to a Diffusion, rX
- Do some modifications in rX
- Commit the change
- Push the commit to remote
Expected Result:
- the push is rejected, an Evil Dragon Bureaucrats ASCII art appears
Actual Result:
- the push succeeds
Regards,
Salvian
Versions:
phabricator 9d10727f651fd4b359c4893f1886b7e436faad91 (Sat, Dec 31) (branched from 3fedc8c299f79e3dc3d389ba8bf0cc4b95b1a307 on origin) arcanist e8b580d2e5e740071b25d087a0aca33f0b0dd691 (Sat, Dec 31) (branched from c243cbbd9fc701ca9555672ea5c1666ea154898f on origin) phutil 0ae0cc00acb1413c22bfe3384fd6086ade4cc206 (Dec 10 2016) (branched from 5ac2ca1214890d865bc57fab2715a322fdf02ab6 on origin)