File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
.github/actions/_called-wf-ref Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 22
22
id : workflows-ref
23
23
shell : bash
24
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')
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.reposiotory }} /actions/runs/${{ github.run_id }} | jq -r '.referenced_workflows[0] | .ref')
26
26
echo "caller-ref=$ref" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments