Herald rule to block all push made without arc diff


Hi all!

I would like to know if there is a way that exists to prevent all push on all branch that are made without the use of Arcanist and especially without using of command like arc diff and arc land.

Thank you !




Hmm actually yes (I just tested it) whit:
Rule Type
Applies To
Commit Hook: Commit Content

When all of these conditions are met:
Differential revision does not exist

Take these actions every time this rule matches:
Block push with message: blablabla


The rule you describe blocks commits without an associated revision, which is different from what you asked for.