Closed MikaelEdwartz closed 1 year ago
That's interesting because here the code is the same as ours?
Yes the code is the same, but in the commented code it says "pull_request_target event is required for autolabeler to support PR's from forks, and the types is opened, reopened, and synchronize. Which our code doesn't include, and error message says that pull_request_target.reopened isnt a valid webhook.
Can the problem be caused by release_drafter trying to use it but since we don't have it in our yml file we get that it isn't a valid webhook?
@MikaelEdwartz after looking at some other projects it seems that this log message is printed always? But if someone of us are using PR from forks we might have to add more stuff to the config file. But is anyone doing that or are all of us pushing feature branches directly to this repo?
from release-drafter, I believe our error message
might be caused because missing
pull_request_target event
adding it might fix the problem