File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 64
64
git commit -m "Test $WORKFLOW_SHORT_LINK" -m "Test $WORKFLOW_FULL_LINK"
65
65
git push -f
66
66
echo "CALLER_SHA=$(git log -n 1 --format='%H')" >> $GITHUB_ENV
67
- - name : Display caller workflow runs for this commit
68
- env :
69
- GH_TOKEN : ${{ secrets.CLIENT_REPO_TOKEN }}
67
+ - name : Show link to access caller workflow runs
68
+ if : strategy.job-index == '0'
70
69
run : |
71
- gh run list \
72
- --repo ${{ matrix.caller-repository }} \
73
- --commit ${{ env.CALLER_SHA }} \
74
- --json url,displayTitle,status \
75
- --template '{{ range .}}{{ .url }}{{ end }}' \
76
- >> $GITHUB_STEP_SUMMARY
77
-
70
+ echo "URL for caller workflow run(s): <${{ github.server_url }}/${{ matrix.caller-repository }}/actions>" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments