Skip to content

Commit

Permalink
Update mergeable.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kirubeltadesse authored Aug 14, 2023
1 parent 8df86c5 commit 567ed27
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/mergeable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ mergeable:
- when: pull_request.*, pull_request_review.*
name: "Approval check"
validate:
- do: commit
message:
regex: '^(feat|docs|chore|fix|refactor|test|style|perf)(\(\w+\))?:.+$'
message: 'Custom message' # Semantic release conventions must be followed
skip_merge: true # Optional, Default is true. Will skip commit with message that includes 'Merge'
oldest_only: false # Optional, Default is false. Only check the regex against the oldest commit
newest_only: false # Optional, Default is false. Only check the regex against the newest commit
single_commit_only: false # Optional, Default is false. only process this validator if there is one commit
message_type: '' # Optional, only check regex against the field specified. Default is '', which processes the 'message' field. Can also be set to 'author_email' or 'committer_email'
- do: approvals
min:
count: 1
Expand Down

0 comments on commit 567ed27

Please sign in to comment.