Pārlūkot izejas kodu

Change event type from pull_requests to pull_request

jnfrati 4 gadi atpakaļ
vecāks
revīzija
230e27dc07
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      api/server/handlers/environment/create.go

+ 1 - 1
api/server/handlers/environment/create.go

@@ -111,7 +111,7 @@ func (c *CreateEnvironmentHandler) ServeHTTP(w http.ResponseWriter, r *http.Requ
 				"content_type": "json",
 				"content_type": "json",
 				"secret":       c.Config().ServerConf.GithubIncomingWebhookSecret,
 				"secret":       c.Config().ServerConf.GithubIncomingWebhookSecret,
 			},
 			},
-			Events: []string{"pull_requests"},
+			Events: []string{"pull_request"},
 			Active: github.Bool(false),
 			Active: github.Bool(false),
 		},
 		},
 	)
 	)