Closed
Description
Description
https://github.com/go-gitea/gitea/blob/main/routers/api/v1/utils/hook.go
In the addHook method, if the passed parameter includes pull_request, all events related to pr will be checked. But there is no way to select events such as PullRequestSync in editHook. This results in no way to manipulate all events through the update operation when updating the webhook.
Gitea Version
branch:master
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
PostgreSQL