From a89e13bf73b6eebffcdd3a2235b618af3da86e3a Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Tue, 16 Feb 2021 11:47:16 -0500 Subject: [PATCH] Don't run tasks for mergify branches on push (#17489) --- .taskcluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index e11debf8a..2e71a5c7b 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -103,7 +103,7 @@ tasks: $if: > tasks_for in ["action", "cron"] || (tasks_for == "github-pull-request" && pullRequestAction in ["opened", "reopened", "synchronize"]) - || (tasks_for == "github-push" && head_branch[:10] != "refs/tags/") && (head_branch != "staging.tmp") && (head_branch != "trying.tmp") + || (tasks_for == "github-push" && head_branch[:10] != "refs/tags/") && (head_branch != "staging.tmp") && (head_branch != "trying.tmp") && (head_branch[:8] != "mergify/") || (tasks_for == "github-release" && releaseAction == "published" && (ownerEmail != "mozilla-release-automation-bot@users.noreply.github.com") && (ownerEmail != "mozilla-release-automation-bot-staging@users.noreply.github.com")) then: $let: