mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
webhook: also allow yunohost-bot to auto-trigger job for ci-auto-update- branches
This commit is contained in:
parent
d130e12d44
commit
52ef23a2cb
1 changed files with 1 additions and 1 deletions
2
run.py
2
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-"
|
||||
|
|
Loading…
Add table
Reference in a new issue