File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Labels
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - labeled
8
+ - unlabeled
9
+
10
+ env :
11
+ LABELS : ${{ join( github.event.pull_request.labels.*.name, ' ' ) }}
12
+
13
+ jobs :
14
+ check-type-label :
15
+ name : ensure type label
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - if : " contains( env.LABELS, 'type: ' ) == false"
19
+ run : exit 1
Original file line number Diff line number Diff line change
1
+ name : Milestone
2
+
3
+ on :
4
+ pull_request_target :
5
+ types :
6
+ - closed
7
+ branches :
8
+ - " main"
9
+
10
+ jobs :
11
+ milestone_pr :
12
+ name : attach to PR
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : scientific-python/attach-next-milestone-action@bc07be829f693829263e57d5e8489f4e57d3d420
16
+ with :
17
+ token : ${{ secrets.MILESTONE_LABELER_TOKEN }}
18
+ force : true
You can’t perform that action at this time.
0 commit comments