From 1f625aebe5acc7e804c58a9304df7eedb6a7cd68 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Abiyat Date: Fri, 29 Nov 2024 22:09:38 +0330 Subject: [PATCH] fix: optional commit unexpected symbol (#340) init --- .github/workflows/ecosystem-ci-from-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ecosystem-ci-from-pr.yml b/.github/workflows/ecosystem-ci-from-pr.yml index 2c7c34d..c458491 100644 --- a/.github/workflows/ecosystem-ci-from-pr.yml +++ b/.github/workflows/ecosystem-ci-from-pr.yml @@ -119,7 +119,7 @@ jobs: pnpm tsx ecosystem-ci.ts --branch ${{ inputs.branchName }} --repo ${{ inputs.repo }} - ${{ inputs.commit && '--commit ' + inputs.commit }} + ${{ inputs.commit && format('--commit {0}', inputs.commit) }} ${{ inputs.suite }} - id: get-ref if: always() @@ -187,7 +187,7 @@ jobs: pnpm tsx ecosystem-ci.ts --branch ${{ inputs.branchName }} --repo ${{ inputs.repo }} - ${{ inputs.commit && '--commit ' + inputs.commit }} + ${{ inputs.commit && format('--commit {0}', inputs.commit) }} ${{ matrix.suite }} - id: get-ref if: always()