Skip to content

Commit 9f1d93d

Browse files
fix: fix _called-wf-ref action
1 parent 1227eae commit 9f1d93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/_called-wf-ref/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ runs:
2222
id: workflows-ref
2323
shell: bash
2424
run: |
25-
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')
25+
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')
2626
echo "caller-ref=$ref" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)