From 062d5006b0baffdd1c31cfa100436853b553dda0 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Fri, 10 Apr 2026 11:48:45 -0400 Subject: [PATCH] ci(tcyml): revert back to $if in extraArgs Taskcluster Github is still using json-e v4.8.0, which does not contain this fix: https://github.com/json-e/json-e/commit/c764fe6a7eb3828253a5b9bea6254a14acb90b8d --- .taskcluster.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.taskcluster.yml b/.taskcluster.yml index a7ebf8754..2899508d6 100644 --- a/.taskcluster.yml +++ b/.taskcluster.yml @@ -253,10 +253,12 @@ tasks: - -cx - $let: extraArgs: - $switch: - 'tasks_for == "cron"': '${cron.quoted_args}' - 'tasks_for == "github-pull-request"': '--allow-parameter-override' - $default: '' + $if: 'tasks_for == "cron"' + then: '${cron.quoted_args}' + else: + $if: 'tasks_for == "github-pull-request"' + then: '--allow-parameter-override' + else: '' in: $if: 'tasks_for == "action" || tasks_for == "pr-action"' then: >