Skip to content

Commit ce33814

Browse files
author
gerrymanoim
authored
Merge pull request #168 from quantopian/labeler
BLD: Use automatic PR labeling for automatic release categorization
2 parents 942faf2 + b0b5d15 commit ce33814

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

.github/release-drafter.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
11

22
name-template: '$NEXT_PATCH_VERSION 🌈'
33
tag-template: '$NEXT_PATCH_VERSION'
4+
categories:
5+
- title: 'API Changes'
6+
labels:
7+
- 'api'
8+
- title: 'Benchmark Changes'
9+
labels:
10+
- 'bench'
11+
- title: 'Build Changes'
12+
labels:
13+
- 'build'
14+
- title: 'Bug Fixes'
15+
labels:
16+
- 'bug'
17+
- title: 'Deprecation'
18+
labels:
19+
- 'deprication'
20+
- title: 'Development Enhancements'
21+
labels:
22+
- 'development'
23+
- title: 'Documentation Updates'
24+
labels:
25+
- 'documentation'
26+
- title: 'Enhancements'
27+
labels:
28+
- 'enhancement'
29+
- title: 'Maintenance'
30+
labels:
31+
- 'maintenance'
32+
- title: 'Reverts'
33+
labels:
34+
- 'revert'
35+
- title: 'Style Changes'
36+
labels:
37+
- 'style'
38+
- title: 'Test Changes'
39+
labels:
40+
- 'test'
41+
- title: 'Release Changes'
42+
labels:
43+
- 'release'
444
template: |
545
## What’s Changed
646
$CHANGES

.github/workflows/labeler.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request
4+
5+
jobs:
6+
pr-labeler:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Label the PR
10+
uses: gerrymanoim/pr-prefix-labeler@v2
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)