File tree 2 files changed +23
-7
lines changed
2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 7
7
types :
8
8
- labeled
9
9
10
- # In order to remove the "CUDA CI" label we need to have write permissions for PRs
11
- permissions :
12
- pull-requests : write
13
-
14
10
jobs :
15
11
tests :
16
12
if : contains(github.event.pull_request.labels.*.name, 'CUDA CI')
21
17
timeout-minutes : 20
22
18
name : Run Array API unit tests
23
19
steps :
24
- - uses : actions-ecosystem/action-remove-labels@v1
25
- with :
26
- labels : CUDA CI
27
20
- uses : actions/setup-python@v5
28
21
with :
29
22
# XXX: The 3.12.4 release of Python on GitHub Actions is corrupted:
Original file line number Diff line number Diff line change
1
+ name : Remove "CUDA CI" Label
2
+
3
+ # This workflow removes the "CUDA CI" label that triggers the actual
4
+ # CUDA CI. It is separate so that we can use the `pull_request_target`
5
+ # trigger which has a API token with write access.
6
+ on :
7
+ pull_request_target :
8
+ types :
9
+ - labeled
10
+
11
+ # In order to remove the "CUDA CI" label we need to have write permissions for PRs
12
+ permissions :
13
+ pull-requests : write
14
+
15
+ jobs :
16
+ label-remover :
17
+ if : contains(github.event.pull_request.labels.*.name, 'CUDA CI')
18
+ name : Remove "CUDA CI" Label
19
+ runs-on : ubuntu-20.04
20
+ steps :
21
+ - uses : actions-ecosystem/action-remove-labels@v1
22
+ with :
23
+ labels : CUDA CI
You can’t perform that action at this time.
0 commit comments