From f1805e4fed9dc09b84510e5bf883c59ae3adeb87 Mon Sep 17 00:00:00 2001 From: Piotr Adamczyk Date: Tue, 18 Aug 2020 19:19:24 +0200 Subject: [PATCH 1/2] #1008 Update mergify configuration to make rebase before merge --- .mergify.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index b99a6d260a..78f62d6648 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -4,4 +4,6 @@ pull_request_rules: - base=master actions: merge: + strict: true + strict_method: rebase method: squash From 7274ac8c44d6c57727db9323b66c2a3826ef3e5e Mon Sep 17 00:00:00 2001 From: Piotr Adamczyk Date: Tue, 18 Aug 2020 19:36:22 +0200 Subject: [PATCH 2/2] Post a message when Pr bad PR title --- .mergify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index 78f62d6648..59c620cf15 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -7,3 +7,22 @@ pull_request_rules: 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)