diff --git a/automation/taskcluster/decision_task.py b/automation/taskcluster/decision_task.py index 99eda5df0..a6bdcb1df 100644 --- a/automation/taskcluster/decision_task.py +++ b/automation/taskcluster/decision_task.py @@ -41,6 +41,9 @@ def pr(builder): ): tasks.append(craft_function()) + for task in tasks: + task['attributes']['code-review'] = True + return tasks diff --git a/automation/taskcluster/lib/tasks.py b/automation/taskcluster/lib/tasks.py index 13b1987c3..0bbf72b26 100644 --- a/automation/taskcluster/lib/tasks.py +++ b/automation/taskcluster/lib/tasks.py @@ -410,6 +410,7 @@ class TaskBuilder(object): deadline = taskcluster.fromNow('1 day') expires = taskcluster.fromNow(DEFAULT_EXPIRES_IN) + routes.append('checks') if self.trust_level == 3: routes.append('tc-treeherder.v2.fenix.{}'.format(self.commit)) diff --git a/taskcluster/ci/pr/kind.yml b/taskcluster/ci/pr/kind.yml new file mode 100644 index 000000000..a2f0c5da3 --- /dev/null +++ b/taskcluster/ci/pr/kind.yml @@ -0,0 +1,18 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +--- +loader: taskgraph.loader.transform:loader + +kind-dependencies: + - old-decision + +transforms: + - taskgraph.transforms.code_review:transforms + - taskgraph.transforms.task:transforms + +jobs: + complete: + description: PR Summary Task + run-on-tasks-for: [github-pull-request] + worker-type: succeed