Skip to content

Commit e636781

Browse files
authored
Merge pull request #55 from ruby-go-gem/all_pass
ci: Introduce alls-green
2 parents abb1d39 + b1ae1a6 commit e636781

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ jobs:
105105
status: ${{ job.status }}
106106
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
107107

108-
notify:
108+
all-pass:
109+
if: always()
110+
109111
needs:
110112
- test
111113
- rubocop
@@ -114,10 +116,7 @@ jobs:
114116
runs-on: ubuntu-latest
115117

116118
steps:
117-
- name: Slack Notification (success)
118-
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
119-
if: always()
120-
continue-on-error: true
119+
- name: check dependent jobs
120+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
121121
with:
122-
status: ${{ job.status }}
123-
webhook-url: ${{ secrets.SLACK_WEBHOOK }}
122+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)