mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-05-23 17:02:55 -04:00
feat: Automate release drafting (#4147)
This commit is contained in:
parent
4734fae891
commit
c2fb4d3fa7
57
.github/release-drafter.yml
vendored
Normal file
57
.github/release-drafter.yml
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
---
|
||||
name-template: "v$RESOLVED_VERSION"
|
||||
tag-template: "v$RESOLVED_VERSION"
|
||||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
||||
sort-direction: ascending
|
||||
|
||||
categories:
|
||||
- title: "🚨 Breaking changes"
|
||||
labels:
|
||||
- "breaking-change"
|
||||
- "major"
|
||||
- title: "✨ New features"
|
||||
labels:
|
||||
- "feature"
|
||||
- "minor"
|
||||
- title: "🐛 Bug fixes"
|
||||
labels:
|
||||
- "bugfix"
|
||||
- title: "🧰 Maintenance"
|
||||
collapse-after: 3
|
||||
labels:
|
||||
- "ci"
|
||||
- "chore"
|
||||
- "l10n"
|
||||
- title: "📚 Documentation"
|
||||
labels:
|
||||
- "documentation"
|
||||
- title: "⬆️ Dependency updates"
|
||||
collapse-after: 3
|
||||
labels:
|
||||
- "dependencies"
|
||||
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- "major"
|
||||
- "breaking-change"
|
||||
minor:
|
||||
labels:
|
||||
- "minor"
|
||||
- "feature"
|
||||
patch:
|
||||
labels:
|
||||
- "bugfix"
|
||||
- "chore"
|
||||
- "ci"
|
||||
- "dependencies"
|
||||
- "documentation"
|
||||
- "l10n"
|
||||
default: patch
|
||||
|
||||
template: |
|
||||
# 🍴🍴🍴🍴🍴🍴🍴🍴🍴🍴
|
||||
|
||||
$CHANGES
|
||||
|
||||
# 🍴🍴🍴🍴🍴🍴🍴🍴🍴🍴
|
21
.github/workflows/release-drafter.yml
vendored
Normal file
21
.github/workflows/release-drafter.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- mealie-next
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
permissions:
|
||||
# write permission is required to create a github release
|
||||
contents: write
|
||||
name: ✏️ Draft release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🚀 Run Release Drafter
|
||||
uses: release-drafter/release-drafter@v6.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
@ -5,5 +5,8 @@
|
||||
],
|
||||
"extends": [
|
||||
"config:base"
|
||||
],
|
||||
"addLabels": [
|
||||
"dependencies"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user