Skip to content

Commit

Permalink
Merge pull request #28 from theohbrothers/enhancement/ci-add-change-l…
Browse files Browse the repository at this point in the history
…abel-to-release-drafter.yml

Enhancement (ci): Add `change` label to `release-drafter.yml`
  • Loading branch information
leojonathanoh authored Mar 4, 2023
2 parents 2587d50 + e696420 commit 9a1ac1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name-template: 'v$RESOLVED_VERSION 🌈'
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- 'change'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🖊️ Refactors'
labels:
Expand All @@ -26,23 +26,21 @@ change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
# - 'major'
- 'breaking'
minor:
labels:
# - 'minor'
- 'feature'
- 'enhancement'
- 'change'
- 'refactor'
patch:
labels:
# - 'patch'
- 'fix'
- 'bugfix'
- 'bug'
- 'style'
- 'docs'
- 'documentation'
- 'chore'
default: patch
sort-by: title
template: |
Expand Down
10 changes: 4 additions & 6 deletions generate/templates/.github/release-drafter.yml.ps1
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
@'
name-template: 'v$RESOLVED_VERSION 🌈'
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- 'change'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🖊️ Refactors'
labels:
Expand All @@ -27,23 +27,21 @@ change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
# - 'major'
- 'breaking'
minor:
labels:
# - 'minor'
- 'feature'
- 'enhancement'
- 'change'
- 'refactor'
patch:
labels:
# - 'patch'
- 'fix'
- 'bugfix'
- 'bug'
- 'style'
- 'docs'
- 'documentation'
- 'chore'
default: patch
sort-by: title
template: |
Expand Down

0 comments on commit 9a1ac1b

Please sign in to comment.