Add release-drafter Workflow
This commit is contained in:
parent
abd87b7d94
commit
b8ff4cd716
45
.github/release-drafter.yml
vendored
Normal file
45
.github/release-drafter.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
ame-template: 'v$RESOLVED_VERSION'
|
||||||
|
tag-template: 'v$RESOLVED_VERSION'
|
||||||
|
template: |
|
||||||
|
# What's Changed
|
||||||
|
$CHANGES
|
||||||
|
categories:
|
||||||
|
- title: Added
|
||||||
|
labels:
|
||||||
|
- 'changelog:added'
|
||||||
|
- title: Changed
|
||||||
|
labels:
|
||||||
|
- 'changelog:changed'
|
||||||
|
- title: Deprecated
|
||||||
|
labels:
|
||||||
|
- 'changelog:deprecated '
|
||||||
|
- title: Removed
|
||||||
|
labels:
|
||||||
|
- 'changelog:removed'
|
||||||
|
- title: Fixed
|
||||||
|
labels:
|
||||||
|
- 'changelog:fixed'
|
||||||
|
- title: Security
|
||||||
|
labels:
|
||||||
|
- security
|
||||||
|
- changelog:security
|
||||||
|
- title: 'Dependency Updates'
|
||||||
|
labels:
|
||||||
|
- dependencies
|
||||||
|
|
||||||
|
version-resolver:
|
||||||
|
major:
|
||||||
|
labels:
|
||||||
|
- 'changelog:removed'
|
||||||
|
minor:
|
||||||
|
labels:
|
||||||
|
- 'changelog:added'
|
||||||
|
- 'changelog:deprecated'
|
||||||
|
patch:
|
||||||
|
labels:
|
||||||
|
- 'changelog:fixed'
|
||||||
|
- 'changelog:security'
|
||||||
|
- 'dependency'
|
||||||
|
|
||||||
|
exclude-labels:
|
||||||
|
- 'skip-changelog'
|
14
.github/workflows/release-drafter.yml
vendored
Normal file
14
.github/workflows/release-drafter.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: Release Drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: release-drafter/release-drafter@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user