From b1ae1a6a7a18b4984d141d1fee74b2aaf4ca836a Mon Sep 17 00:00:00 2001 From: sue445 Date: Wed, 17 Dec 2025 21:52:20 +0900 Subject: [PATCH] ci: Introduce alls-green --- .github/workflows/test.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dd338ab..09f6eec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -105,7 +105,9 @@ jobs: status: ${{ job.status }} webhook-url: ${{ secrets.SLACK_WEBHOOK }} - notify: + all-pass: + if: always() + needs: - test - rubocop @@ -114,10 +116,7 @@ jobs: runs-on: ubuntu-latest 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) }}