Skip to content

Commit 13189f1

Browse files
wip
1 parent 24aa92f commit 13189f1

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,16 @@ permissions:
1313
packages: write
1414
pull-requests: write
1515

16-
env:
17-
LABEL_ROBOT_TEST_NEEDED: needs-robot-testing
18-
LABEL_ROBOT_TESTED: robot-tested
19-
2016
jobs:
2117
test-label:
22-
if: github.event.label.name == env.LABEL_ROBOT_TESTED
18+
if: github.event.label.name == 'robot-tested'
2319
name: Test Label
2420
runs-on: ubuntu-latest
2521
steps:
2622
- name: Test Label Added
2723
uses: ./.github/actions/test-unlabel
2824
with:
29-
label-robot-tested: ${{ env.LABEL_ROBOT_TESTED }}
25+
label-robot-tested: robot-tested
3026

3127
test-unlabel:
3228
if: github.event.action == 'synchronize'
@@ -36,8 +32,8 @@ jobs:
3632
- name: Remove Test Label
3733
uses: ./.github/actions/test-label
3834
with:
39-
label-robot-tested: ${{ env.LABEL_ROBOT_TESTED }}
40-
label-robot-test-needed: ${{ env.LABEL_ROBOT_TEST_NEEDED }}
35+
label-robot-tested: robot-tested
36+
label-robot-test-needed: needs-robot-testing
4137

4238
build:
4339
needs: test-remove-labels

0 commit comments

Comments
 (0)