From dcef24b3e7b2569de62bfdd1b5c7a3cfcee86212 Mon Sep 17 00:00:00 2001 From: black-desk Date: Thu, 22 Aug 2024 17:01:24 +0800 Subject: [PATCH] ci: use alls-green Signed-off-by: black-desk --- .github/workflows/checks.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 7387e8d..c9350de 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -65,8 +65,13 @@ jobs: cmake --workflow --preset ci pass: name: Pass - needs: [checks, build-and-test] + if: always() + needs: + - checks + - build-and-test runs-on: ubuntu-latest steps: - - name: Placeholder - run: true + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}