Description
In order to enable specific audit, we created packages and disabled auditing. Indeed, the owner audit feature is not enough specific (ie when working with an upstream project, we don't want to review upstream commits) to trigger only certain commits.
So in order to review only specific commits in our repository, we created an herald rule acting on commits with the following:
Conditions:
Author exists Affected package is all of <owner_package>
Action
Add auditors <owner_package>
Now when a commit is pushed to the repository, a review is triggered by herald (see transcript)
But it is not applicable
Note that the commit author is also in the owner package.
Is this the expected behavior since auditing is disabled ? If so, what is the proper way to trigger such specific audit ?
Reproducing
- Create a owner package with at least two members
- Disable auditing FOR THIS PACKAGE
- Add a repo path to this package
- Add an herald rule to add this package as auditor when a commit which affect this packages is pushed
- Push a commit to the repository
- See that no action is triggered.