-
-
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.
Merge pull request #17 from oleg-nenashev/release-drafts
Add Release Drafter
- Loading branch information
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,60 @@ | ||
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter | ||
name-template: $NEXT_PATCH_VERSION | ||
tag-template: $NEXT_PATCH_VERSION | ||
|
||
# Emoji reference: https://gitmoji.carloscuesta.me/ | ||
categories: | ||
- title: 💥 Breaking changes | ||
labels: | ||
- breaking | ||
- title: 🚀 New features and improvements | ||
labels: | ||
- enhancement | ||
- title: 🐛 Bug fixes | ||
labels: | ||
- bug | ||
- title: 📝 Documentation updates | ||
labels: | ||
- documentation | ||
- title: 🌐 Localization and translation | ||
labels: | ||
- localization | ||
- title: 🌐 Community-related changes | ||
labels: | ||
- community | ||
- title: 👻 Maintenance | ||
labels: | ||
- chore | ||
- maintenance | ||
- title: 🚦 Tests | ||
labels: | ||
- test | ||
- title: ✍ Other changes | ||
# Default label used by Dependabot | ||
- title: 📦 Dependency updates | ||
labels: | ||
- dependencies | ||
collapse-after: 15 | ||
exclude-labels: | ||
- skip-changelog | ||
- invalid | ||
|
||
template: | | ||
<!-- Optional: add a release summary here --> | ||
$CHANGES | ||
autolabeler: | ||
- label: 'documentation' | ||
files: | ||
- '*.md' | ||
branch: | ||
- '/docs{0,1}\/.+/' | ||
- label: 'bug' | ||
branch: | ||
- '/fix\/.+/' | ||
title: | ||
- '/fix/i' | ||
- label: 'enhancement' | ||
branch: | ||
- '/feature\/.+/' |
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,18 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
with: | ||
name: next | ||
tag: next | ||
version: next | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |