mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
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:
parent
72080bd73c
commit
6d5d64a66e
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user