From de2630402517682f63054bce98b0555d1533b5c4 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Wed, 19 Feb 2025 14:27:41 -0500 Subject: [PATCH] ci: create a 'complete-pr' task to block PRs from landing --- taskcluster/kinds/complete/kind.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 taskcluster/kinds/complete/kind.yml diff --git a/taskcluster/kinds/complete/kind.yml b/taskcluster/kinds/complete/kind.yml new file mode 100644 index 000000000..d1e6048d0 --- /dev/null +++ b/taskcluster/kinds/complete/kind.yml @@ -0,0 +1,23 @@ +# 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 + +transforms: + - taskgraph.transforms.from_deps + - taskgraph.transforms.task + +kind-dependencies: + - check + - test + +tasks: + pr: + description: Ensures required PR tasks have completed + run-on-tasks-for: ["github-pull-request"] + worker-type: succeed + from-deps: + group-by: all + set-name: false + unique-kinds: false