File tree Expand file tree Collapse file tree 4 files changed +12
-54
lines changed Expand file tree Collapse file tree 4 files changed +12
-54
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
- " *"
9
9
workflow_dispatch : # allows you to trigger manually
10
10
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress : true
14
+
11
15
jobs :
12
- skip-duplicate-jobs :
13
- runs-on : ubuntu-latest
14
- if : |
15
- github.repository == 'pydata/xarray'
16
- && (github.event_name == 'push' || github.event_name == 'pull_request')
17
- outputs :
18
- should_skip : ${{ steps.skip_check.outputs.should_skip }}
19
- steps :
20
- - id : skip_check
21
-
22
- with :
23
- # For workflows which are triggered concurrently with the same
24
- # contents, attempt to execute them exactly once.
25
- concurrent_skipping : ' same_content_newer'
26
- paths_ignore : ' ["**/doc/**"]'
27
16
detect-ci-trigger :
28
17
name : detect ci trigger
29
18
runs-on : ubuntu-latest
30
- needs : skip-duplicate-jobs
31
- if : ${{ needs.skip-duplicate-jobs.outputs.should_skip != 'true' }}
32
19
outputs :
33
20
triggered : ${{ steps.detect-trigger.outputs.trigger-found }}
34
21
steps :
@@ -129,8 +116,6 @@ jobs:
129
116
doctest :
130
117
name : Doctests
131
118
runs-on : " ubuntu-latest"
132
- needs : skip-duplicate-jobs
133
- if : ${{ needs.skip-duplicate-jobs.outputs.should_skip != 'true' }}
134
119
defaults :
135
120
run :
136
121
shell : bash -l {0}
Original file line number Diff line number Diff line change 8
8
- " *"
9
9
workflow_dispatch : # allows you to trigger manually
10
10
11
- jobs :
12
- skip-duplicate-jobs :
13
- runs-on : ubuntu-latest
14
- if : |
15
- github.repository == 'pydata/xarray'
16
- && (github.event_name == 'push' || github.event_name == 'pull_request')
17
- outputs :
18
- should_skip : ${{ steps.skip_check.outputs.should_skip }}
19
- steps :
20
- - id : skip_check
21
-
22
- with :
23
- # For workflows which are triggered concurrently with the same
24
- # contents, attempt to execute them exactly once.
25
- concurrent_skipping : ' same_content_newer'
26
- paths_ignore : ' ["**/doc/**"]'
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress : true
27
14
15
+ jobs :
28
16
detect-ci-trigger :
29
17
name : detect ci trigger
30
- needs : skip-duplicate-jobs
31
- if : ${{ needs.skip-duplicate-jobs.outputs.should_skip != 'true' }}
32
18
runs-on : ubuntu-latest
33
19
outputs :
34
20
triggered : ${{ steps.detect-trigger.outputs.trigger-found }}
@@ -125,8 +111,6 @@ jobs:
125
111
126
112
event_file :
127
113
name : " Event File"
128
- needs : skip-duplicate-jobs
129
- if : ${{ needs.skip-duplicate-jobs.outputs.should_skip != 'true' }}
130
114
runs-on : ubuntu-latest
131
115
steps :
132
116
- name : Upload
Original file line number Diff line number Diff line change 10
10
- cron : " 0 0 * * *" # Daily “At 00:00” UTC
11
11
workflow_dispatch : # allows you to trigger the workflow run manually
12
12
13
+ concurrency :
14
+ group : ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress : true
16
+
13
17
jobs :
14
18
detect-ci-trigger :
15
19
name : detect upstream-dev ci trigger
You can’t perform that action at this time.
0 commit comments