Skip to content

Commit 6aa30e2

Browse files
ci: Update mergify configuration (Flank#1015)
* Flank#1008 Update mergify configuration to make rebase before merge * Post a message when Pr bad PR title
1 parent 9494470 commit 6aa30e2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.mergify.yml

+21
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,25 @@ pull_request_rules:
44
- base=master
55
actions:
66
merge:
7+
strict: true
8+
strict_method: rebase
79
method: squash
10+
- name: ask to fix PR title
11+
conditions:
12+
- status-failure=check_title
13+
- -closed
14+
actions:
15+
comment:
16+
message: |
17+
Title does not follow the guidelines of [Conventional Commits](https://www.conventionalcommits.org).
18+
Please adjust title before merge and use one of following prefix:
19+
- `build` - Changes that affect the build system or external dependencies (dependencies update)
20+
- `ci` - Changes to our CI configuration files and scripts (basically directory `.github/workflows`)
21+
- `docs` - Documentation only changes
22+
- `feat` - A new feature
23+
- `fix` - A bug fix
24+
- `chore` - Changes which does not touch the code (ex. manual update of release notes). It will not generate release notes changes
25+
- `refactor` - A code change that contains refactor
26+
- `style` - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
27+
- `test` - Adding missing tests or correcting existing tests and also changes for our test app
28+
- `perf` - A code change that improves performance (I do not think we will use it)

0 commit comments

Comments
 (0)