From 4119e05a52d3aa2707414ee48b89abc390ce1e5b Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Wed, 19 Apr 2023 12:33:04 -0400 Subject: [PATCH] add new required condition --- .github/workflows/deploy-tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/deploy-tests.yml b/.github/workflows/deploy-tests.yml index f3e283ac6..78a642c67 100644 --- a/.github/workflows/deploy-tests.yml +++ b/.github/workflows/deploy-tests.yml @@ -52,3 +52,18 @@ jobs: uses: neurodatawithoutborders/nwbinspector/.github/workflows/update-testing-files.yml@dev secrets: DANDI_API_KEY: ${{ secrets.DANDI_API_KEY }} + + check-final-status: + name: All tests passing + if: always() + + needs: + - run-tests + + runs-on: ubuntu-latest + + steps: + - name: Decide whether the all jobs succeeded or at least one failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}