-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds the release drafter configuration and workflow to simplify the creation of releases. Signed-off-by: Lukas Burgholzer <[email protected]>
- Loading branch information
1 parent
db5efb7
commit a9604fb
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name-template: "Release $RESOLVED_VERSION" | ||
tag-template: "v$RESOLVED_VERSION" | ||
categories: | ||
- title: "🚀 Features and Enhancements" | ||
labels: | ||
- "feature" | ||
- "enhancement" | ||
- "usability" | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- "bug" | ||
- "fix" | ||
- title: "📄 Documentation" | ||
labels: | ||
- "documentation" | ||
- title: "🤖 CI" | ||
labels: | ||
- "continuous integration" | ||
- title: "📦 Packaging" | ||
labels: | ||
- "packaging" | ||
- title: "🧹 Code Quality" | ||
labels: | ||
- "code quality" | ||
- title: "⬆️ Dependencies" | ||
collapse-after: 5 | ||
labels: | ||
- "dependencies" | ||
- "submodules" | ||
- "github_actions" | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
change-title-escapes: '\<*_&' | ||
version-resolver: | ||
major: | ||
labels: | ||
- "major" | ||
minor: | ||
labels: | ||
- "minor" | ||
patch: | ||
labels: | ||
- "patch" | ||
default: patch | ||
autolabeler: | ||
- label: "dependencies" | ||
title: | ||
- "/update pre-commit hooks/i" | ||
|
||
template: | | ||
## 👀 What Changed | ||
$CHANGES | ||
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
pull_request_target: | ||
types: [opened, reopened, synchronize] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update_release_draft: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |