Compare commits

...

2 Commits

Author SHA1 Message Date
Jesse Duffield
a4465fec48 Update release notes config and add CI check 2023-07-20 17:10:47 +10:00
Jesse Duffield
effda8291b Add release config for generating release notes
After going and adding labels for all of these I found out that 'improvement' should be 'enhancement' and 'bugfix' should be 'bug'
but I don't know how to bulk update them (and I can't rename because the desired labels already exist).

I'll work that out later, this is good enough for now
2023-07-19 23:37:34 +10:00
2 changed files with 37 additions and 0 deletions

26
.github/release.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
changelog:
exclude:
labels:
- ignore-for-release
categories:
- title: Features ✨
labels:
- feature
- title: Enhancements 🔥
labels:
- enhancement
- title: Fixes 🔧
labels:
- bug
- title: Maintenance ⚙️
labels:
- maintenance
- title: Docs 📖
labels:
- docs
- title: I18n 🌎
labels:
- i18n
- title: Other Changes
labels:
- "*"

View File

@@ -204,3 +204,14 @@ jobs:
- name: errors
run: golangci-lint run
if: ${{ failure() }}
label:
runs-on: ubuntu-latest
# permissions:
# issues: write
# pull-requests: write
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "ignore-for-release, feature, enhancement, maintenance, docs, i18n"