diff --git a/.github/workflows/test-self.yml b/.github/workflows/test-self.yml index f53d675..004785e 100644 --- a/.github/workflows/test-self.yml +++ b/.github/workflows/test-self.yml @@ -63,3 +63,15 @@ jobs: git status -vv git commit -m "Test $WORKFLOW_SHORT_LINK" -m "Test $WORKFLOW_FULL_LINK" git push -f + echo "CALLER_SHA=$(git log -n 1 --format='%H')" >> $GITHUB_ENV + - name: Display caller workflow runs for this commit + env: + GH_TOKEN: ${{ secrets.CLIENT_REPO_TOKEN }} + run: | + gh run list \ + --repo ${{ matrix.caller-repository }} \ + --commit ${{ env.CALLER_SHA }} \ + --json url,displayTitle,status \ + --template '- {{range .}}[{{.displayTitle}}]({{.url}}) ({{.status}}){{end}}' \ + >> $GITHUB_STEP_SUMMARY +