File tree Expand file tree Collapse file tree 4 files changed +14
-24
lines changed Expand file tree Collapse file tree 4 files changed +14
-24
lines changed Original file line number Diff line number Diff line change
1
+ name : Cancel
2
+ on :
3
+ workflow_run :
4
+ workflows : ["CI", "CI Additional", "CI Upstream"]
5
+ types :
6
+ - requested
7
+ jobs :
8
+ cancel :
9
+ name : Cancel previous runs
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : styfle/cancel-workflow-action@0.8.0
13
+ with :
14
+ workflow_id : ${{ github.event.workflow.id }}
Original file line number Diff line number Diff line change 45
45
" py38-flaky" ,
46
46
]
47
47
steps :
48
- - name : Cancel previous runs
49
- uses : styfle/cancel-workflow-action@0.6.0
50
- with :
51
- access_token : ${{ github.token }}
52
48
- uses : actions/checkout@v2
53
49
with :
54
50
fetch-depth : 0 # Fetch all history for all branches and tags.
@@ -120,10 +116,6 @@ jobs:
120
116
shell : bash -l {0}
121
117
122
118
steps :
123
- - name : Cancel previous runs
124
- uses : styfle/cancel-workflow-action@0.6.0
125
- with :
126
- access_token : ${{ github.token }}
127
119
- uses : actions/checkout@v2
128
120
with :
129
121
fetch-depth : 0 # Fetch all history for all branches and tags.
@@ -161,10 +153,6 @@ jobs:
161
153
shell : bash -l {0}
162
154
163
155
steps :
164
- - name : Cancel previous runs
165
- uses : styfle/cancel-workflow-action@0.6.0
166
- with :
167
- access_token : ${{ github.token }}
168
156
- uses : actions/checkout@v2
169
157
with :
170
158
fetch-depth : 0 # Fetch all history for all branches and tags.
@@ -205,10 +193,6 @@ jobs:
205
193
shell : bash -l {0}
206
194
207
195
steps :
208
- - name : Cancel previous runs
209
- uses : styfle/cancel-workflow-action@0.6.0
210
- with :
211
- access_token : ${{ github.token }}
212
196
- uses : actions/checkout@v2
213
197
with :
214
198
fetch-depth : 0 # Fetch all history for all branches and tags.
Original file line number Diff line number Diff line change 37
37
os : ["ubuntu-latest", "macos-latest", "windows-latest"]
38
38
python-version : ["3.7", "3.8"]
39
39
steps :
40
- - name : Cancel previous runs
41
- uses : styfle/cancel-workflow-action@0.6.0
42
- with :
43
- access_token : ${{ github.token }}
44
40
- uses : actions/checkout@v2
45
41
with :
46
42
fetch-depth : 0 # Fetch all history for all branches and tags.
Original file line number Diff line number Diff line change 47
47
outputs :
48
48
artifacts_availability : ${{ steps.status.outputs.ARTIFACTS_AVAILABLE }}
49
49
steps :
50
- - name : Cancel previous runs
51
- uses : styfle/cancel-workflow-action@0.6.0
52
- with :
53
- access_token : ${{ github.token }}
54
50
- uses : actions/checkout@v2
55
51
- uses : conda-incubator/setup-miniconda@v2
56
52
with :
You can’t perform that action at this time.
0 commit comments