diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 08af9aab8..47b50bd5a 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -193,11 +193,10 @@ jobs: if: always() steps: - - run: exit 0 - if: success() - - - run: exit 1 - if: failure() + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} - name: Report failure to Slack channel uses: slackapi/slack-github-action@v1