mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-24 13:02:38 +01:00
Merge branch 'gitlab_mr_support' into 'master'
patchforreview_remover: Add support for gitlab MRs in some repos See merge request ladsgroup/Phabricator-maintenance-bot!6
This commit is contained in:
commit
4cbda66e5f
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