Add background audits of the default branch's newest commit
This commit is contained in:
@@ -84,6 +84,8 @@ type Manager struct {
|
||||
|
||||
workflowMu sync.Mutex
|
||||
|
||||
auditMu sync.Mutex
|
||||
|
||||
previewMu sync.Mutex
|
||||
previewListeners map[int]*previewListener
|
||||
|
||||
@@ -475,6 +477,7 @@ func (m *Manager) Recover(ctx context.Context) error {
|
||||
go m.deliverAllQueued(context.Background())
|
||||
go m.startHeldMerges(context.Background())
|
||||
go m.recoverMergeAfterReviews(context.Background())
|
||||
go m.auditAll(context.Background())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user