1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-21 19:42: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:
Ladsgroup 2024-04-26 17:47:36 +00:00
commit 4cbda66e5f

View file

@ -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