We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 803a9bd commit 41a1508Copy full SHA for 41a1508
.github/workflows/label-check.yml
@@ -0,0 +1,19 @@
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
.github/workflows/milestone-merged-prs.yml
@@ -0,0 +1,18 @@
+name: Milestone
+ pull_request_target:
+ - closed
+ branches:
+ - "main"
+ milestone_pr:
+ name: attach to PR
+ - uses: scientific-python/attach-next-milestone-action@bc07be829f693829263e57d5e8489f4e57d3d420
+ with:
+ token: ${{ secrets.MILESTONE_LABELER_TOKEN }}
+ force: true
0 commit comments