From 0fcd0974c2749ef9e705a82b0a93740f1903ed51 Mon Sep 17 00:00:00 2001 From: sue445 Date: Wed, 17 Dec 2025 22:22:23 +0900 Subject: [PATCH] ci: Introduce alls-green --- .github/workflows/test.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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) }}