enable github-branch-release-drafter

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
This commit is contained in:
olivier lamy 2020-10-13 09:09:00 +10:00
parent 85852dc84e
commit 69abaed168
2 changed files with 75 additions and 0 deletions

56
.github/release-config.yml vendored Normal file
View File

@ -0,0 +1,56 @@
# Emoji reference: https://gitmoji.carloscuesta.me/
categories:
- title: ":boom: Breaking changes"
labels:
- breaking
- title: 🚨 Removed
label: removed
- title: ":tada: Major features and improvements"
labels:
- major-enhancement
- major-rfe
- title: 🐛 Major bug fixes
labels:
- major-bug
- title: ⚠️ Deprecated
label: deprecated
- title: 🚀 New features and improvements
labels:
- enhancement
- feature
- rfe
- title: 🐛 Bug Fixes
labels:
- bug
- fix
- bugfix
- regression
- title: ":construction_worker: Changes for plugin developers"
labels:
- developer
# Default label used by Dependabot
- title: 📦 Dependency updates
label: dependencies
- title: 📝 Documentation updates
label: documentation
- title: 👻 Maintenance
labels:
- chore
- internal
- title: 🚦 Tests
labels:
- test
- tests
exclude-labels:
- reverted
- no-changelog
- skip-changelog
- invalid
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
# Disable certain characters in title from being interpreted as markdown
change-title-escapes: '\<*_&#'
template: |
<!-- Optional: add a release summary here -->
$CHANGES

View File

@ -0,0 +1,19 @@
name: Github branch Release Drafter
on:
push:
branches:
- jetty-9.4.x
- jetty-10.0.x
- jetty-11.0.x
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: joakime/github-branch-release-drafter@main
with:
name: "9.4.x"
version: "9.4.x"
tag: "9.4.x"
draft_config: ".github/release-config.yml"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}