fix: support feature label

Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
gardar 2023-02-23 10:55:13 +00:00
parent cb5c6c435d
commit 620acbb7de
No known key found for this signature in database
GPG key ID: 75FAE37CBA8C13C2
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,7 @@ jobs:
- name: "Confirm correct pull request title" - name: "Confirm correct pull request title"
uses: deepakputhraya/action-pr-title@master uses: deepakputhraya/action-pr-title@master
with: with:
allowed_prefixes: 'feat,fix,major,breaking,minor,enhancement,deprecated,removed,security,bug,bugfix,docs,packaging,test,refactor,refactoring,skip-release,skip_changelog' allowed_prefixes: 'feat,feature,fix,major,breaking,minor,enhancement,deprecated,removed,security,bug,bugfix,docs,packaging,test,refactor,refactoring,skip-release,skip_changelog'
- name: "Apply label" - name: "Apply label"
if: github.event.pull_request.labels.length == 0 if: github.event.pull_request.labels.length == 0
@ -18,6 +18,7 @@ jobs:
with: with:
type_labels: | type_labels: |
{ {
"feature": "enhancement",
"feat": "enhancement", "feat": "enhancement",
"fix": "bugfix", "fix": "bugfix",
"major": "major", "major": "major",

View file

@ -36,7 +36,7 @@ We try to stick to semantic versioning and our releases are automated. Release i
to PR title. Available keywords are: to PR title. Available keywords are:
* `[patch]`, `[fix]`, `[bug]`, `[bugfix]`, `[test]`, `[refactor]`, `[packaging]`, `[docs]` - for PATCH version release * `[patch]`, `[fix]`, `[bug]`, `[bugfix]`, `[test]`, `[refactor]`, `[packaging]`, `[docs]` - for PATCH version release
* `[minor]`, `[enhancement]`, `[feat]`, `[deprecated]`, `[removed]`, `[security]` - for MINOR version release * `[minor]`, `[enhancement]`, `[feature]`, `[feat]`, `[deprecated]`, `[removed]`, `[security]` - for MINOR version release
* `[major]`, `[breaking]` - for MAJOR version release * `[major]`, `[breaking]` - for MAJOR version release
## Changelog ## Changelog