-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.mergify.yml
More file actions
58 lines (52 loc) · 1.34 KB
/
.mergify.yml
File metadata and controls
58 lines (52 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
defaults:
actions:
squash:
commit_message: first-commit
pull_request_rules:
- name: dismiss reviews
conditions: []
actions:
dismiss_reviews: {}
- name: warn on conflicts
conditions:
- conflict
- '-closed'
actions:
comment:
message: '@{{author}} this pull request is now in conflict 😩'
label:
toggle:
- conflict
- name: label on unresolved
conditions:
- '#review-threads-unresolved>0'
actions:
label:
toggle:
- review threads unresolved
merge_protections:
- name: No Manual Merge
if:
- label = manual merge
success_conditions:
- label != manual merge
- name: Enforce conventional commit
description: Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
if: []
success_conditions:
- >-
title ~=
^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:
- name: 🔎 Reviews
if: []
success_conditions:
- "#changes-requested-reviews-by = 0"
- "#review-threads-unresolved = 0"
- "#review-requested = 0"
- name: 📕 PR description
if: []
success_conditions:
# must have 48+ characters on possibly multi-lines
- 'body ~= (?ms:.{48,})'
merge_protections_settings:
reporting_method: deployments