Skip to content

Commit 4d0221f

Browse files
wip
1 parent a4a51d3 commit 4d0221f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ permissions:
1515

1616
jobs:
1717
test-robot-label:
18-
if: github.event.label.name == 'test-robot-done'
18+
if: github.event.action == 'labeled' &&
19+
github.event.label.name == inputs['label-test-robot-done']
1920
name: Test Robot Label
2021
runs-on: ubuntu-latest
2122
steps:

.github/workflows/test-robot-unlabel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020

2121
jobs:
2222
test-robot-unlabel:
23-
if: github.event.label.name == 'test-robot-done'
23+
if: github.event.label.name == inputs['label-test-robot-done']
2424
name: Test Robot Unlabel
2525
runs-on: ubuntu-latest
2626
steps:

0 commit comments

Comments
 (0)