From 9f1d93da148437c83125dc53f0fe0bd8363971d6 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 20 Dec 2023 13:01:06 +0100 Subject: [PATCH] fix: fix _called-wf-ref action --- .github/actions/_called-wf-ref/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/_called-wf-ref/action.yml b/.github/actions/_called-wf-ref/action.yml index 095684468..4b7c5982d 100644 --- a/.github/actions/_called-wf-ref/action.yml +++ b/.github/actions/_called-wf-ref/action.yml @@ -22,5 +22,5 @@ runs: id: workflows-ref shell: bash run: | - ref=$(curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ inputs.GH_TOKEN_ADMIN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/splunk/splunk-add-on-for-microsoft-cloud-services/actions/runs/${{ github.run_id }} | jq -r '.referenced_workflows[0] | .ref') + ref=$(curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ inputs.GH_TOKEN_ADMIN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }} | jq -r '.referenced_workflows[0] | .ref') echo "caller-ref=$ref" >> $GITHUB_OUTPUT \ No newline at end of file