From f7a65ee697aa7e1a2bbdfcafe9d846aadd9aa2c2 Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 20 Feb 2025 17:35:46 -0500 Subject: [PATCH] fix: work around matrix restriction on status checks (#12173) and the merge-check is revived --- .github/workflows/ci3.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci3.yml b/.github/workflows/ci3.yml index 3df44015c9b..d9944ebad47 100644 --- a/.github/workflows/ci3.yml +++ b/.github/workflows/ci3.yml @@ -154,6 +154,16 @@ jobs: run: | ./ci.sh ec2-test + # Necessary as github actions won't allow checks on matrix builds. + merge-check: + runs-on: ubuntu-20.04 + needs: ci + if: always() + steps: + - name: Failing deploy + if: ${{ contains(needs.*.result, 'failure') }} + run: exit 1 + notify: runs-on: ubuntu-latest if: github.event_name == 'push' && failure()