Skip to content

Commit

Permalink
Merge branch 'development' into deep-volue-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
deep-volue committed Oct 19, 2023
2 parents a902246 + bcc74f1 commit 2af2f8d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/.mergeable.yml
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.

0 comments on commit 2af2f8d

Please sign in to comment.