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
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -72,19 +72,21 @@ tasks:
- "index.gecko.v2.${repository.project}.latest.taskgraph.decision-${cron.job_name}"
- "index.gecko.v2.${repository.project}.latest.firefox.decision-${cron.job_name}"
scopes:
$if: 'tasks_for == "hg-push"'
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}'
dependencies: []
requires: all-completed
priority: lowest