Open bduffany opened 3 years ago
See https://docs.github.com/en/rest/reference/repos#create-a-repository-webhook
In my testing, you have to provide both the top-level events field as well as config.events, otherwise the created webhook will only get the push event. The documentation makes it seem like you only have to provide config.events.
events
config.events
push
You can report this directly at https://github.com/github/docs
See https://docs.github.com/en/rest/reference/repos#create-a-repository-webhook
In my testing, you have to provide both the top-level
events
field as well asconfig.events
, otherwise the created webhook will only get thepush
event. The documentation makes it seem like you only have to provideconfig.events
.