From 507d20ac07112c655e33cb7fa8b7d760d3a789b6 Mon Sep 17 00:00:00 2001 From: Johan Lorenzo Date: Fri, 20 Nov 2020 16:53:47 +0100 Subject: [PATCH] Bug 1678572 - A github-release shouldn't kick off releases if the bot made it (#16674) --- .taskcluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index ce21a56a1..3441951e6 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -104,7 +104,7 @@ tasks: 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-release" && releaseAction == "published") + || (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: level: