Fix mirror sync not automatically sending webhook requests (#7366)

tokarchuk/v1.17
Drew 6 years ago committed by techknowlogick
parent 62d6127f1b
commit 89aa08d372
  1. 5
      models/action.go

@ -896,6 +896,11 @@ func mirrorSyncAction(e Engine, opType ActionType, repo *Repository, refName str
}); err != nil {
return fmt.Errorf("notifyWatchers: %v", err)
}
defer func() {
go HookQueue.Add(repo.ID)
}()
return nil
}

Loading…
Cancel
Save