From 7c833f6f192bc352b66e7609ea025302df95160e Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Thu, 11 Jul 2024 21:41:23 -0400 Subject: [PATCH] ci: for pushes, only run taskcluster on main Anything else should route through a PR. If we need other long lived branches in the future we can add them, and also add them to https://github.com/mozilla-releng/fxci-config/blob/main/projects.yml. --- .taskcluster.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 7b1298ca..4233708c 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -6,7 +6,8 @@ policy: tasks: - $if: > (tasks_for == "github-pull-request" && event.action in ["opened", "reopened", "synchronize"]) - || (tasks_for in ["github-push", "action", "cron"]) + || (tasks_for in ["action", "cron"]) + || (tasks_for == "github-push" && event.ref == "refs/heads/main") then: $let: trustDomain: scriptworker