From b29f75a075e30687ef5f3852d8f04e3f4cb840c0 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Wed, 30 Dec 2020 21:46:23 +0000 Subject: [PATCH] fix to tc.yml to only build on pushes to main --- .taskcluster.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index da73d0ede..2204a3540 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -7,8 +7,8 @@ tasks: then: $let: run: - $if: 'tasks_for == "github-push" && event["ref"] == "refs/heads/main"' - then: true + $if: 'tasks_for == "github-push"' + then: {$eval: 'event.ref == "refs/heads/main"'} else: {$eval: 'event.action in ["opened", "reopened", "synchronize"]'} repo_url: $if: 'tasks_for == "github-push"'