Skip to content

Commit ab198ba

Browse files
wip
1 parent 14fa5f1 commit ab198ba

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "All Green"
2+
description: "Checks that all required checks have passed and the PR is green."
3+
4+
5+
runs:
6+
using: "composite"
7+
steps:
8+
- name: All Green
9+
uses: wechuli/allcheckspassed@v2
10+
with:
11+
poll: false
12+
delay: 0
13+
retries: 0

.github/workflows/pull-request-label.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ jobs:
2929
label-test-robot-done: test-robot-done
3030
label-test-robot-needed: test-robot-needed
3131

32-
pr-green:
33-
runs-on: ubuntu-latest
32+
all-green:
3433
needs: test-robot-check
35-
name: PR / Green
36-
steps:
37-
- uses: wechuli/allcheckspassed@v2
38-
with:
39-
poll: false
40-
delay: 0
41-
retries: 0
34+
name: Job
35+
uses: ./.github/workflows/all-green.yml

.github/workflows/pull-request.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,7 @@ jobs:
3636
label-test-robot-done: test-robot-done
3737
label-test-robot-needed: test-robot-needed
3838

39-
pr-green:
40-
runs-on: ubuntu-latest
39+
all-green:
4140
needs: test-robot-check
42-
name: PR / Green
43-
steps:
44-
- uses: wechuli/allcheckspassed@v2
45-
with:
46-
poll: false
47-
delay: 0
48-
retries: 0
41+
name: Job
42+
uses: ./.github/workflows/all-green.yml

0 commit comments

Comments
 (0)