File tree Expand file tree Collapse file tree 7 files changed +99
-0
lines changed Expand file tree Collapse file tree 7 files changed +99
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : ci
2
2
on :
3
+ push :
3
4
pull_request :
4
5
jobs :
6
+ skip_check :
7
+ runs-on : ubuntu-latest
8
+ outputs :
9
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
10
+ steps :
11
+ - id : skip_check
12
+
13
+ with :
14
+ paths_ignore : ' ["**/*.md"]'
15
+ cancel_others : ' true'
16
+ concurrent_skipping : ' outdated_runs'
17
+ skip_after_successful_duplicate : ' true'
5
18
image :
6
19
runs-on : ubuntu-latest
20
+ needs : skip_check
21
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
7
22
steps :
8
23
- name : Check out the repo
9
24
uses : actions/checkout@v2
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
- cron : ' 0 0 * * *' # daily to pick up releases
6
6
jobs :
7
+ skip_check :
8
+ runs-on : ubuntu-latest
9
+ outputs :
10
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
11
+ steps :
12
+ - id : skip_check
13
+
14
+ with :
15
+ paths_ignore : ' ["**/*.md"]'
16
+ cancel_others : ' true'
17
+ concurrent_skipping : ' outdated_runs'
18
+ skip_after_successful_duplicate : ' true'
7
19
e2e-kind :
8
20
runs-on : ubuntu-latest
21
+ needs : skip_check
22
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
9
23
steps :
10
24
- uses : actions/checkout@v2
11
25
- uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
- cron : ' 0 0 * * *' # daily to pick up releases
6
6
jobs :
7
+ skip_check :
8
+ runs-on : ubuntu-latest
9
+ outputs :
10
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
11
+ steps :
12
+ - id : skip_check
13
+
14
+ with :
15
+ paths_ignore : ' ["**/*.md"]'
16
+ cancel_others : ' true'
17
+ concurrent_skipping : ' outdated_runs'
18
+ skip_after_successful_duplicate : ' true'
7
19
e2e-minikube :
8
20
runs-on : ubuntu-latest
21
+ needs : skip_check
22
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
9
23
steps :
10
24
- uses : actions/checkout@v2
11
25
- uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 5
5
- master
6
6
pull_request :
7
7
jobs :
8
+ skip_check :
9
+ runs-on : ubuntu-latest
10
+ outputs :
11
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
12
+ steps :
13
+ - id : skip_check
14
+
15
+ with :
16
+ paths_ignore : ' ["**/*.md"]'
17
+ cancel_others : ' true'
18
+ concurrent_skipping : ' outdated_runs'
19
+ skip_after_successful_duplicate : ' true'
8
20
e2e-tests :
9
21
runs-on : ubuntu-latest
22
+ needs : skip_check
23
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
10
24
steps :
11
25
- uses : actions/checkout@v2
12
26
- uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 6
6
- ' **'
7
7
pull_request :
8
8
jobs :
9
+ skip_check :
10
+ runs-on : ubuntu-latest
11
+ outputs :
12
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
13
+ steps :
14
+ - id : skip_check
15
+
16
+ with :
17
+ paths_ignore : ' ["**/*.md"]'
18
+ cancel_others : ' true'
19
+ concurrent_skipping : ' outdated_runs'
20
+ skip_after_successful_duplicate : ' true'
9
21
sanity :
10
22
runs-on : ubuntu-latest
23
+ needs : skip_check
24
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
11
25
steps :
12
26
- uses : actions/checkout@v2
13
27
- uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 5
5
- master
6
6
pull_request :
7
7
jobs :
8
+ skip_check :
9
+ runs-on : ubuntu-latest
10
+ outputs :
11
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
12
+ steps :
13
+ - id : skip_check
14
+
15
+ with :
16
+ paths_ignore : ' ["**/*.md"]'
17
+ cancel_others : ' true'
18
+ concurrent_skipping : ' outdated_runs'
19
+ skip_after_successful_duplicate : ' true'
8
20
unit :
9
21
runs-on : ubuntu-latest
22
+ needs : skip_check
23
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
10
24
steps :
11
25
- uses : actions/checkout@v2
12
26
- uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 5
5
- master
6
6
pull_request :
7
7
jobs :
8
+ skip_check :
9
+ runs-on : ubuntu-latest
10
+ outputs :
11
+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
12
+ steps :
13
+ - id : skip_check
14
+
15
+ with :
16
+ paths_ignore : ' ["**/*.md"]'
17
+ cancel_others : ' true'
18
+ concurrent_skipping : ' outdated_runs'
19
+ skip_after_successful_duplicate : ' true'
8
20
verify :
9
21
runs-on : ubuntu-latest
22
+ needs : skip_check
23
+ if : ${{ needs.skip_check.outputs.should_skip != 'true' }}
10
24
steps :
11
25
- uses : actions/checkout@v2
12
26
- uses : actions/setup-go@v2
You can’t perform that action at this time.
0 commit comments