gitea: don't drop pull request events
This commit is contained in:
parent
1153510b04
commit
48d3f2dedc
|
@ -181,6 +181,9 @@ class GiteaBackend(GitBackend):
|
||||||
def create_change_hook(self) -> dict[str, Any]:
|
def create_change_hook(self) -> dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
"secret": self.webhook_secret,
|
"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:
|
def create_avatar_method(self) -> AvatarBase | None:
|
||||||
|
|
Loading…
Reference in a new issue