From c689b14eb9391a67faf378ac17728cdd61b59dcd Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 16 Dec 2023 12:05:47 +0100 Subject: [PATCH] ci: Add allgreen job to signify overflow workflow status --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a14ab0..27dbce8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,3 +53,19 @@ jobs: with: command: clippy args: -- -D warnings + + # Job to key success status against + allgreen: + name: allgreen + if: always() + needs: + - check + - fmt + - test + - clippy + runs-on: ubuntu-latest + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}