From 620acbb7dee4fccaceb6f04f65e53e1c8692f1b2 Mon Sep 17 00:00:00 2001 From: gardar Date: Thu, 23 Feb 2023 10:55:13 +0000 Subject: [PATCH] fix: support `feature` label Signed-off-by: gardar --- .github/workflows/conventional-label.yml | 3 ++- CONTRIBUTING.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conventional-label.yml b/.github/workflows/conventional-label.yml index d69f7cb4..67d91714 100644 --- a/.github/workflows/conventional-label.yml +++ b/.github/workflows/conventional-label.yml @@ -10,7 +10,7 @@ jobs: - name: "Confirm correct pull request title" uses: deepakputhraya/action-pr-title@master 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" if: github.event.pull_request.labels.length == 0 @@ -18,6 +18,7 @@ jobs: with: type_labels: | { + "feature": "enhancement", "feat": "enhancement", "fix": "bugfix", "major": "major", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 24f73838..b5874b27 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,7 @@ We try to stick to semantic versioning and our releases are automated. Release i to PR title. Available keywords are: * `[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 ## Changelog