Skip to content

Commit 283150a

Browse files
wipush
1 parent 40b6d50 commit 283150a

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,13 @@ jobs:
1919
uses: ./.github/workflows/test-robot-label.yml
2020
with:
2121
label-test-robot-done: test-robot-done
22+
label-test-robot-needed: test-robot-needed
23+
24+
test-robot-check:
25+
needs: test-robot-label
26+
if: always() && needs.test-robot-label.result != 'failure'
27+
name: Job
28+
uses: ./.github/workflows/test-robot-check.yml
29+
with:
30+
label-test-robot-done: test-robot-done
31+
label-test-robot-needed: test-robot-needed

.github/workflows/test-robot-label.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
type: string
99
required: false
1010
default: 'test-robot-done'
11+
label-test-robot-needed:
12+
description: 'Label name indicating the PR needs robot testing'
13+
type: string
14+
required: false
15+
default: 'test-robot-needed'
1116

1217
permissions:
1318
contents: read
@@ -26,3 +31,4 @@ jobs:
2631
uses: ./.github/actions/test-robot-label
2732
with:
2833
label-test-robot-done: ${{ inputs.label-test-robot-done }}
34+
label-test-robot-needed: ${{ inputs.label-test-robot-needed }}

0 commit comments

Comments
 (0)