-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into deep-volue-patch-1
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 2 | ||
mergeable: | ||
- when: pull_request.*, pull_request_review.* | ||
name: PR Checker | ||
validate: | ||
# we check title format because on squash-merge it becomes the merge-commit message | ||
- do: title | ||
must_include: | ||
regex: "^.{0,62}$" | ||
message: | | ||
Title should be at most 62 characters long | ||
- do: title | ||
must_include: | ||
regex: '^(feat|fix|refactor|revert|ci|build|docs|chore)(\([\w\d-]+\))?!?: (\S.+[^.?!])$' | ||
regex_flag: "none" # by default pattern is case-insensitive | ||
message: | | ||
Title should follow conventional commit format `type(scope): summary` | ||
- type is one of feat, fix, refactor, revert, ci, build, docs, chore | ||
- scope is optional, it can be a ClickUp ticket reference or anything else, e.g. feat(CU861naajbt) or build(deps) | ||
- summary should start with lower case and shouldn't end with punctuation | ||
- do: description | ||
no_empty: | ||
enabled: true | ||
message: | | ||
Description should not be empty. Please provide details with **what** was changed, **why** it was changed, and **how** it was changed. |