Bug 1437738 - Update actions to new repo scopes r=jonasfj r=pmoore a=Aryx on a CLOSED TREE

MozReview-Commit-ID: 5kNs3OqqjMw

--HG--
extra : amend_source : 256cbbb1cca08c01d0555afdcc015d54b494367a
This commit is contained in:
Brian Stack 2018-02-12 22:56:15 -08:00
parent 72080bd73c
commit 6d5d64a66e

View File

@ -180,7 +180,7 @@ def register_callback_action(name, title, symbol, description, order=10000,
match = re.match(r'https://(hg.mozilla.org)/(.*?)/?$', parameters['head_repository'])
if not match:
raise Exception('Unrecognized head_repository')
repo_scope = 'assume:repo:{}/{}:*'.format(
repo_scope = 'assume:repo:{}/{}:branch:default'.format(
match.group(1), match.group(2))
task_group_id = os.environ.get('TASK_ID', slugid())