Skip to content

Commit

Permalink
ci: Update mergify configuration (#1015)
Browse files Browse the repository at this point in the history
* #1008 Update mergify configuration to make rebase before merge

* Post a message when Pr bad PR title
  • Loading branch information
piotradamczyk5 authored Aug 18, 2020
1 parent 9494470 commit 6aa30e2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,25 @@ pull_request_rules:
- base=master
actions:
merge:
strict: true
strict_method: rebase
method: squash
- name: ask to fix PR title
conditions:
- status-failure=check_title
- -closed
actions:
comment:
message: |
Title does not follow the guidelines of [Conventional Commits](https://www.conventionalcommits.org).
Please adjust title before merge and use one of following prefix:
- `build` - Changes that affect the build system or external dependencies (dependencies update)
- `ci` - Changes to our CI configuration files and scripts (basically directory `.github/workflows`)
- `docs` - Documentation only changes
- `feat` - A new feature
- `fix` - A bug fix
- `chore` - Changes which does not touch the code (ex. manual update of release notes). It will not generate release notes changes
- `refactor` - A code change that contains refactor
- `style` - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- `test` - Adding missing tests or correcting existing tests and also changes for our test app
- `perf` - A code change that improves performance (I do not think we will use it)

0 comments on commit 6aa30e2

Please sign in to comment.