From 48d3f2dedccb183cc6edd1664abad921de69eeb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 3 May 2024 20:25:26 +0200 Subject: [PATCH] gitea: don't drop pull request events --- buildbot_nix/gitea_projects.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildbot_nix/gitea_projects.py b/buildbot_nix/gitea_projects.py index 995f30f..03bae40 100644 --- a/buildbot_nix/gitea_projects.py +++ b/buildbot_nix/gitea_projects.py @@ -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: