From 52ef23a2cb37cb4fe13debca58eb589bb2f4d927 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 5 Apr 2023 16:56:16 +0200 Subject: [PATCH] webhook: also allow yunohost-bot to auto-trigger job for ci-auto-update- branches --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 0c89887..a23f004 100644 --- a/run.py +++ b/run.py @@ -1558,7 +1558,7 @@ async def github(request): # We only accept PRs that are created by github-action bot if hook_infos["pull_request"]["user"][ "login" - ] != "github-actions[bot]" or not hook_infos["pull_request"]["head"][ + ] not in ["github-actions[bot]", "yunohost-bot"] or not hook_infos["pull_request"]["head"][ "ref" ].startswith( "ci-auto-update-"