From f8bbeca2c9de154daf3cd1a95615bcf89a4ae6aa Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 23 Jan 2024 13:49:31 +0100 Subject: [PATCH] ci: ensure "check-commits succeeded" actually ran --- .github/workflows/check-commits.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-commits.yml b/.github/workflows/check-commits.yml index c4d15bacf7..90610bce90 100644 --- a/.github/workflows/check-commits.yml +++ b/.github/workflows/check-commits.yml @@ -28,8 +28,10 @@ jobs: ./dist/tools/${{ matrix.check }}/check.sh "${{ github.base_ref }}" check-commits-success: needs: check-commits - if: github.event_name != 'merge_group' + if: always() && github.event_name != 'merge_group' runs-on: ubuntu-latest steps: - name: check-commits succeeded - run: exit 0 + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}