Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Added release drafter #33

Merged
merged 2 commits into from
Apr 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
-
title: 'Features'
labels:
- 'enhancement'
- 'feat'
- 'feature'
-
title: 'Bug Fixes'
labels:
- 'bug'
- 'bugfix'
- 'fix'
-
title: 'Maintenance'
labels:
- 'chore'
- 'style'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels: ['major']
minor:
labels: ['minor']
patch:
labels: ['patch']
default: patch
exclude-labels: ['skip']
autolabeler:
-
label: 'bug'
branch:
- '/bug\/.+/'
- '/bugfix\/.+/'
- '/fix\/.+/'
-
label: 'enhancement'
branch:
- '/dependabot\/.+/'
- '/enhancement\/.+/'
- '/feat\/.+/'
- '/feature\/.+/'
-
label: 'chore'
branch:
- '/chore\/.+/'
- '/style\/.+/'
template: |
## Release notes

$CHANGES
17 changes: 17 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release drafter

on:
push:
branches: [main, master, dev]
pull_request:
types: [opened, reopened, synchronize]

jobs:
update_release_draft:
name: Update draft release
runs-on: ubuntu-latest
steps:
-
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}