Skip to content

Commit 999d607

Browse files
authored
Use labels for changelog generating (#4198)
1 parent 1fd5c94 commit 999d607

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- quill-bot
5+
categories:
6+
- title: Bug Fixes 🛠
7+
labels:
8+
- change:bugfix
9+
- title: New Features 🎉
10+
labels:
11+
- change:feature
12+
- title: Documentation 📚
13+
labels:
14+
- change:documentation
15+
- title: Other Changes
16+
labels:
17+
- "*"

.github/workflows/label.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Pull Requests
2+
3+
on:
4+
pull_request:
5+
types: [opened, labeled, unlabeled, synchronize]
6+
7+
jobs:
8+
label:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
steps:
14+
- uses: mheap/github-action-required-labels@v5
15+
with:
16+
mode: exactly
17+
count: 1
18+
labels: |
19+
change:bugfix
20+
change:feature
21+
change:documentation
22+
change:chore
23+
add_comment: false

0 commit comments

Comments
 (0)