We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1227eae commit 9f1d93dCopy full SHA for 9f1d93d
.github/actions/_called-wf-ref/action.yml
@@ -22,5 +22,5 @@ runs:
22
id: workflows-ref
23
shell: bash
24
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')
+ 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')
26
echo "caller-ref=$ref" >> $GITHUB_OUTPUT
0 commit comments