Skip to content

Commit

Permalink
fix: add refactor to semver title
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jun 24, 2024
1 parent d8ceaf3 commit 9e68aa2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/.github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Check
uses: stordco/[email protected]
with:
regex: '^(feat!|fix!|fix|feat|chore)(\(\w+\))?:\s(\[#\d{1,5}\])?.*$'
regex: '^(refactor!|feat!|fix!|refactor|fix|feat|chore)(\(\w+\))?:\s(\[#\d{1,5}\])?.*$'
hint: |
Your PR title does not match the Conventional Commits convention. Please rename your PR to match one of the following formats:
Expand All @@ -32,4 +32,12 @@ jobs:
Note: Adding ! (i.e. `feat!:`) represents a breaking change and will result in a SemVer major release.
Please use one of the following types:
- **feat:** A new feature, resulting in a MINOR version bump."
- **fix:** A bug fix, resulting in a PATCH version bump."
- **refactor:** A code change that neither fixes a bug nor adds a feature, resulting in a PATCH version bump."
- **chore:** Changes unrelated to the release code, resulting in no version bump."
- **revert:** Reverts a previous commit."
See https://www.conventionalcommits.org/en/v1.0.0/ for more information.

0 comments on commit 9e68aa2

Please sign in to comment.