Page MenuHomePhabricator

Herald rule: only trigger on non-binary files
Closed, ResolvedPublic

Asked by jpraet on May 20 2014, 8:45 PM.

Details

We have the workflow 'Audits in Small Teams' set up as described here: https://secure.phabricator.com/book/phabricator/article/audit/#audits-in-small-teams

Is it possibly the configure the Herald rule so that it doesn't trigger an audit if the commit has only touched binary files?

Answers

epriestley
Updated 3,862 Days Ago

This isn't currently possible. If you'd like it added as a feature, feel free to file an issue.

cspeckmim
Updated 3,415 Days Ago

I am currently doing something similar with Herald. For our projects the rule is essentially looking for changes to Java .jar files. Here's the setup (screenshot also attached).

  1. Create Object Rule on Commits
  2. When Change Details - > Affected files will matches regexp then email/audit is triggered.

We use this to monitor changes to ensure we continue to follow our SOUP policies.

SOUPHeraldRule.png (308×2 px, 52 KB)

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.