We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08790d2 commit 53868a8Copy full SHA for 53868a8
internal/controlplane/handlers_githubwebhooks.go
@@ -236,6 +236,12 @@ func (s *Server) registerWebhookForRepository(
236
secret := s.cfg.WebhookConfig.WebhookSecret
237
238
regResult := &pb.RegisterRepoResult{
239
+ // We will overwrite this later when we've looked it up from the provider,
240
+ // but existing clients expect a message here, so let's add one.
241
+ Repository: &pb.Repository{
242
+ Name: repo.Name, // Not normalized, from client
243
+ Owner: repo.Owner, // Not normalized, from client
244
+ },
245
Status: &pb.RegisterRepoResult_Status{
246
Success: false,
247
},
0 commit comments