diff --git a/.github/workflows/pr-test-report.yml b/.github/workflows/pr-test-report.yml index 71396ff..122a60c 100644 --- a/.github/workflows/pr-test-report.yml +++ b/.github/workflows/pr-test-report.yml @@ -2,7 +2,10 @@ name: "[PR] Testing report (job #2)" on: workflow_run: - workflows: ["Unit testing"] + # GitHub matches this list on the workflow `name:` only. It must equal the + # name in pr-unit-test.yml; a rename there without a change here silently + # stops this follower from ever running. + workflows: ["[PR] Unit testing (job #1)"] types: [completed] permissions: {} diff --git a/.github/workflows/pr-unit-test.yml b/.github/workflows/pr-unit-test.yml index 959bca7..f94cf7a 100644 --- a/.github/workflows/pr-unit-test.yml +++ b/.github/workflows/pr-unit-test.yml @@ -91,10 +91,10 @@ jobs: timeout-minutes: 10 run: sudo env "PATH=$PATH" gotestsum --format standard-verbose --junitfile report.xml -- ./... -v -cover - # The report is published by the "Unit testing report" workflow (workflow_run - # follower), which runs on the base repository's context. This job executes - # untrusted PR code, so it keeps a read-only token, no persisted credentials, - # and no secrets; the artifact is the only thing it hands over. + # The report is published by the "[PR] Testing report (job #2)" workflow + # (workflow_run follower), which runs on the base repository's context. This + # job executes untrusted PR code, so it keeps a read-only token, no persisted + # credentials, and no secrets; the artifact is the only thing it hands over. - name: Upload junit report artifact if: always() uses: actions/upload-artifact@v7