gitea: don't drop pull request events

This commit is contained in:
Jörg Thalheim 2024-05-03 20:25:26 +02:00
parent 1153510b04
commit 48d3f2dedc

View file

@ -181,6 +181,9 @@ class GiteaBackend(GitBackend):
def create_change_hook(self) -> dict[str, Any]:
return {
"secret": self.webhook_secret,
# The "mergable" field is a bit buggy,
# we already do the merge locally anyway.
"onlyMergeablePullRequest": False,
}
def create_avatar_method(self) -> AvatarBase | None: