From 12acf2405c856328cfa6b8ce7b9a6eeed1a46c4d Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Mon, 4 Mar 2024 11:12:13 +0200 Subject: [PATCH] chore(misc): remove double quotes --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d293f4351a6493..a932458ff3fb29 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -103,8 +103,9 @@ jobs: repo: context.repo.repo, pull_number: ${{ github.event.inputs.pr }}, }); - console.log(`Fetched PR details: ${pr.data.head.ref}`); - return pr.data.head.ref; + const branchRef = pr.data.head.ref.replace(/"/g, ''); // Remove double quotes + console.log(`Fetched PR branch name: ${branchRef}`); + return branchRef; - name: Generate version string for PR release if: github.event.inputs.pr