Skip to content

Commit

Permalink
Merge pull request #50 from startersclan/enhancement/ci-add-change-la…
Browse files Browse the repository at this point in the history
…bel-to-release-drafter.yml

Enhancement (ci): Add `change` label to `release-drafter.yml`
  • Loading branch information
leojonathanoh authored Mar 4, 2023
2 parents 505f791 + 3fcc172 commit 58b6fc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name-template: '$RESOLVED_VERSION 🌈'
tag-template: '$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,26 +26,24 @@ 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: |
## Changes
$CHANGES
$CHANGES
2 changes: 1 addition & 1 deletion .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
${{ github.repository }}
# type=ref,event=pr generates tag(s) on PRs only. E.g. 'pr-123-<variant>', 'pr-123-abc0123-<variant>'
# type=ref,event=branch generates tag(s) on branch only. E.g. 'master-<variant>', 'master-abc0123-<variant>'
# type=semver generates tag(s) on tags only. E.g.'v0.0.0-<variant>', 'v0.0.0-abc0123-<variant>'
# type=ref,event=tag generates tag(s) on tags only. E.g. 'v0.0.0-<variant>', 'v0.0.0-abc0123-<variant>'
tags: |
type=ref,suffix=-${{ matrix.variant }},event=pr
type=ref,suffix=-{{sha}}-${{ matrix.variant }},event=pr
Expand Down

0 comments on commit 58b6fc5

Please sign in to comment.