diff --git a/.taskcluster.yml b/.taskcluster.yml index 83d84a84b..20f453233 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -83,8 +83,12 @@ tasks: else: $if: 'tasks_for == "cron"' then: '${ownTaskId}' + releaseAction: + $if: 'tasks_for == "github-release"' + then: ${event.action} + else: 'UNDEFINED' in: - $if: 'tasks_for in ["github-pull-request", "github-release", "action", "cron"] || tasks_for == "github-push" && head_branch[:10] != "refs/tags/"' + $if: 'tasks_for in ["github-pull-request", "action", "cron"] || (tasks_for == "github-push" && head_branch[:10] != "refs/tags/") || (tasks_for == "github-release" && releaseAction == "published")' then: $let: level: