diff --git a/src/applications/audit/editor/PhabricatorAuditEditor.php b/src/applications/audit/editor/PhabricatorAuditEditor.php --- a/src/applications/audit/editor/PhabricatorAuditEditor.php +++ b/src/applications/audit/editor/PhabricatorAuditEditor.php @@ -642,6 +642,12 @@ $status_resigned = PhabricatorAuditStatusConstants::RESIGNED; foreach ($object->getAudits() as $audit) { + if (!$audit->isInteresting()) { + // Don't send mail to uninteresting auditors, like packages which + // own this code but which audits have not triggered for. + continue; + } + if ($audit->getAuditStatus() != $status_resigned) { $phids[] = $audit->getAuditorPHID(); }