diff --git a/.github/workflows/pr-require-checks.yml b/.github/workflows/pr-require-checks.yml index 2e9750a..cb0adb4 100644 --- a/.github/workflows/pr-require-checks.yml +++ b/.github/workflows/pr-require-checks.yml @@ -279,6 +279,7 @@ jobs: # four contexts the org ci-gate ruleset requires, so every lane above has to # reach the gate through this one job name. ci-status: + name: CI Status needs: [test-shell, psscriptanalyzer, validate-manifests, check-links, lychee, typos] if: ${{ !cancelled() }} runs-on: ubuntu-24.04 @@ -308,8 +309,11 @@ jobs: # aggregation: the job still fails on the contract step's exit code, and # the `ci-lanes` status is on the SHA for the next contract-only run. if: ${{ !cancelled() }} - uses: melodic-software/ci-workflows/.github/actions/pr-require-checks/aggregate-results@594987abe8657a40bccc13d301f1f0d5cccb5348 # v0.39.8 + uses: melodic-software/ci-workflows/.github/actions/pr-require-checks/aggregate-results@ac4d8780de793b20e60a66890e767df579c80d83 # ac4d878 2026-11-11 with: + # report-ci-status mirrors this gate under `ci-status` and runs on + # contract-only events too; the run-shape reads must ignore it. + alias-jobs: ci-status results: ${{ join(needs.*.result, ' ') }} # The replaced inline aggregator passed only `success`, so a `skipped` # lane was already red here. @@ -323,3 +327,18 @@ jobs: rerun-contract-only-siblings: 'true' carry-forward-wait-seconds: '0' token: ${{ github.token }} + + report-ci-status: + name: ci-status + needs: [ci-status] + if: ${{ always() }} + runs-on: ubuntu-24.04 + timeout-minutes: 3 + permissions: {} + steps: + - name: Report the conclusion of `CI Status` + env: + RESULT: ${{ needs.ci-status.result }} + run: | + echo "CI Status: $RESULT" + [ "$RESULT" = success ]