File tree 3 files changed +17
-10
lines changed
3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ name: E2E Tests
2
2
3
3
on :
4
4
workflow_run :
5
- workflows : ["E2E Test Pre Label Check"]
6
- types :
7
- - completed
5
+ workflows : [E2E Test Pre Label Check]
6
+ types : [completed]
8
7
9
8
jobs :
10
9
e2e :
11
10
if : >
11
+ github.event.label.name == 'ok-to-test' &&
12
12
github.event.workflow_run.event == 'pull_request' &&
13
13
github.event.workflow_run.conclusion == 'success'
14
14
Original file line number Diff line number Diff line change 1
1
name : E2E Test Pre Label Check
2
2
3
3
on :
4
- pull_request :
5
- paths :
6
- - apps/**
7
- - common/**
8
- types :
9
- - labeled
4
+ workflow_run :
5
+ workflows : [E2E Test Require Label Check]
6
+ types : [completed]
10
7
11
8
jobs :
12
9
ok_to_test_label_check :
13
10
if : ${{ github.event.label.name == 'ok-to-test' }}
11
+
14
12
runs-on : ubuntu-latest
13
+
15
14
steps :
16
- - run : echo "Pull request contains label ok-to-test"
15
+ - name : Check out repo
16
+ uses : actions/checkout@v2
17
+
18
+ - name : Install kustomize
19
+ run : ./tests/gh-actions/install_kustomize.sh
20
+
21
+ - name : Unit Test
22
+ run : kustomize build example
Original file line number Diff line number Diff line change 10
10
- labeled
11
11
- unlabeled
12
12
- synchronize
13
+ - reopened
13
14
14
15
jobs :
15
16
require_label_check :
You can’t perform that action at this time.
0 commit comments