From ab60e7aafade2c28fe4f8916f5a632a290d225ef Mon Sep 17 00:00:00 2001 From: Aki Sasaki Date: Mon, 17 Oct 2022 15:56:26 -0600 Subject: [PATCH] syntax fix? (cherry picked from commit b0d89d3a124136f5ca67f0efd2d61f825b97ebb5) --- .taskcluster.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index 6233554fd84..ae8cf2f58c2 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -83,9 +83,9 @@ tasks: else: $if: 'tasks_for in ["cron", "action"]' then: - $if: '${push.branch}[:11] == "refs/heads/"' + $if: 'push.branch[:11] == "refs/heads/"' then: {$eval: 'push.branch[11:]'} - else: '${push.branch}' + else: ${push.branch} base_sha: $if: 'tasks_for == "github-push"' then: '${event.before}'