From 502538cb2928db17f529726fada0b52815c7aeca Mon Sep 17 00:00:00 2001 From: Sanjit Bhat Date: Mon, 22 Jul 2024 12:28:40 -0400 Subject: [PATCH] ci: add names to job --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aa2ceb..7a5f81f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,14 +75,17 @@ jobs: # Workaround for defining ruleset across matrix. # See https://github.com/orgs/community/discussions/26822. - go-results: + complete: + name: Complete CI + needs: [go] if: ${{ always() }} runs-on: ubuntu-latest - needs: [go] steps: - - run: exit 1 + - name: Check all job status if: >- ${{ contains(needs.*.result, "failure") || contains(needs.*.result, "cancelled") + || contains(needs.*.result, "skipped") }} + run: exit 1