Sfoglia il codice sorgente

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

tags/v1.9.0-rc1
Drew 5 anni fa
parent
commit
89aa08d372
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      models/action.go

+ 5
- 0
models/action.go Vedi File

@@ -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…
Annulla
Salva