소스 검색

Change event type from pull_requests to pull_request

jnfrati 4 년 전
부모
커밋
230e27dc07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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",
 				"secret":       c.Config().ServerConf.GithubIncomingWebhookSecret,
 			},
-			Events: []string{"pull_requests"},
+			Events: []string{"pull_request"},
 			Active: github.Bool(false),
 		},
 	)