Skip to content

Commit

Permalink
fix(cicd): correct autolabeler / release-resolver
Browse files Browse the repository at this point in the history
mistakenly removed version-resolver instead of verson-resolver-labels

fixes #83
  • Loading branch information
fty4 committed Aug 14, 2022
1 parent 96f46af commit c6f1e49
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ categories:
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

autolabeler:
- label: "documentation"
files:
Expand All @@ -33,21 +45,6 @@ autolabeler:
branch:
- '/feat\/.+/'

# version-resolver labels
# if a PR only fixes some bugs the patch should be updated
- label: "patch"
branch:
- '/fix\/.+/'
- '/chore\/.+/'
# if a PR adds a feature the minor should be updated (when no breaking changes)
- label: "minor"
branch:
- '/feat\/.+/'
# if a PR adds a breaking-change feature the major should be updated
- label: "major"
body:
- '/BREAKING\ CHANGE/'

template: |
## Changes
Expand Down

0 comments on commit c6f1e49

Please sign in to comment.