diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40e06bd..f17a11d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,17 +70,16 @@ jobs: webhook-url: ${{ secrets.SLACK_WEBHOOK }} matrix: ${{ toJson(matrix) }} - notify: + all-pass: + if: always() + needs: - test - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - - name: Slack Notification (success) - uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2 - if: always() - continue-on-error: true + - name: check dependent jobs + uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 with: - status: ${{ job.status }} - webhook-url: ${{ secrets.SLACK_WEBHOOK }} + jobs: ${{ toJSON(needs) }}