Add release drafter file

This commit is contained in:
Clémentine Urquizar 2021-03-09 16:43:14 +01:00
parent 2138f54954
commit 4aaa561147
No known key found for this signature in database
GPG Key ID: D8E7CC7422E77E1A
2 changed files with 31 additions and 0 deletions

14
.github/release-draft-template.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
version-template: '0.21.0-alpha.$PATCH'
version-resolver:
default: patch
categories:
- title: 'Breaking changes ⚠️'
label: 'breaking-change'
template: |
## Changes
$CHANGES
no-changes-template: 'Changes are coming soon 😎'
sort-direction: 'ascending'

17
.github/workflows/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Release Drafter
on:
push:
branches:
# - main
- release-drafter
jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
with:
config-name: release-draft-template.yml
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_DRAFTER_TOKEN }}