We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e49dc70 commit bbdc375Copy full SHA for bbdc375
2 files changed
.github/workflows/label-check.yaml
@@ -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.yaml
@@ -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@f94a5235518d4d34911c41e19d780b8e79d42238
+ with:
+ token: ${{ secrets.MILESTONE_LABELER_TOKEN }}
+ force: true
0 commit comments