Skip to content

Commit e1363c9

Browse files
author
Anna Jung (VMware)
committed
Add another actions to require label check
Signed-off-by: Anna Jung (VMware) <[email protected]>
1 parent 1389995 commit e1363c9

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.github/workflows/e2e_test_pre_check.yaml renamed to .github/workflows/e2e_test_pre_label_check.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ on:
99
- labeled
1010

1111
jobs:
12-
label_check:
12+
ok_to_test_label_check:
1313
if: ${{ github.event.label.name == 'ok-to-test' }}
14-
name: label-check
1514
runs-on: ubuntu-latest
1615
steps:
1716
- run: echo "Pull request contains label ok-to-test"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: E2E Test Require Label Check
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- apps/**
7+
- common/**
8+
types:
9+
- opened
10+
- labeled
11+
- unlabeled
12+
- synchronize
13+
14+
jobs:
15+
require_label_check:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: mheap/github-action-required-labels@v5
19+
with:
20+
mode: exactly
21+
count: 1
22+
labels: "ok-to-test"

0 commit comments

Comments
 (0)