We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 292b790 commit e328f42Copy full SHA for e328f42
.github/workflows/test-self.yml
@@ -64,14 +64,7 @@ jobs:
64
git commit -m "Test $WORKFLOW_SHORT_LINK" -m "Test $WORKFLOW_FULL_LINK"
65
git push -f
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 }}
+ - name: Show link to access caller workflow runs
+ if: strategy.job-index == '0'
70
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
-
+ echo "URL for caller workflow run(s): <${{ github.server_url }}/${{ matrix.caller-repository }}/actions>" >> $GITHUB_STEP_SUMMARY
0 commit comments