Bug 1415868 - include in-tree:hook-action:..{level}-* in decision task scopes; r=jonasfj,tomprince

The inclusion of this scope limits the actions initiated within this decision
task's task group.

MozReview-Commit-ID: E5gP9UR3pdu

--HG--
extra : rebase_source : 335a4f3bb15bdf3a9bd9c75a692fabb1417a5461
This commit is contained in:
Dustin J. Mitchell 2018-04-25 21:41:54 +00:00
Родитель 0f0fde3dad
Коммит edbae96f0c
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -77,9 +77,11 @@ tasks:
then:
- 'assume:repo:${repoUrl[8:]}:branch:default'
- 'queue:route:notify.email.${ownerEmail}.*'
- 'in-tree:hook-action:project-gecko/in-tree-action-${repository.level}-*'
else:
$if: 'tasks_for == "action"'
then:
# when all actions are hooks, we can calculate this directly rather than using a variable
- '${action.repo_scope}'
else:
- 'assume:repo:${repoUrl[8:]}:cron:${cron.job_name}'