mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-12-26 12:30:55 +01:00
patchforreview_remover: Add support for gitlab MRs in some repos
Some repos are not under /repos/. That's breaking stuff. Bad. Bug: T363232 Bug: T363573
This commit is contained in:
parent
982cfc2f33
commit
8879d484ab
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Checker():
|
|||
m = re.search(r'https://gerrit(?:-test|)\.wikimedia\.org/r/\d+', raw_comment)
|
||||
if m:
|
||||
return m[0]
|
||||
m = re.search(r'https://gitlab\.wikimedia\.org/repos/.*/-/merge_requests/\d+', raw_comment)
|
||||
m = re.search(r'https://gitlab\.wikimedia\.org/.*/-/merge_requests/\d+', raw_comment)
|
||||
if m:
|
||||
return m[0]
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue