Skip to content

Commit

Permalink
ci: Add allgreen job to signify overall workflow status
Browse files Browse the repository at this point in the history
Rework the bors job (which signifies overall workflow status) into a more
generic job named allgreen.

Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Jan 10, 2024
1 parent 43d4da0 commit 79507f2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,10 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}


# Job to key the bors success status against
bors:
name: bors
if: success()
# Job to key success status against
allgreen:
name: allgreen
if: always()
needs:
- check
- fmt
Expand All @@ -102,5 +101,7 @@ jobs:
- docker-image
runs-on: ubuntu-latest
steps:
- name: Mark the job as a success
run: exit 0
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit 79507f2

Please sign in to comment.