From 705edce82b08b22359d3e22be6571b82ae7b7d7a Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Wed, 30 Dec 2020 01:02:00 +0000 Subject: [PATCH] only run CI on pushes to main, not to topic branches --- .taskcluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 9cdef3214..da73d0ede 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -7,7 +7,7 @@ tasks: then: $let: run: - $if: 'tasks_for == "github-push"' + $if: 'tasks_for == "github-push" && event["ref"] == "refs/heads/main"' then: true else: {$eval: 'event.action in ["opened", "reopened", "synchronize"]'} repo_url: