Skip to content

Commit

Permalink
ci: add names to job
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjit-bhat committed Jul 22, 2024
1 parent cce1dfa commit 502538c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 502538c

Please sign in to comment.