From 302bd45f8f4146d9fd73658b22bf1a5e5d7c48e0 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Fri, 20 Nov 2020 13:47:11 +0100 Subject: [PATCH] Add initial mergify configuration --- .mergify.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .mergify.yml diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000000..73ec94942e --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,46 @@ +pull_request_rules: + - name: Resolve conflict + conditions: + - conflict + actions: + comment: + message: This pull request has conflicts when rebasing. Could you fix it @{{author}}? 🙏 + - name: MickeyMoz - Auto Merge + conditions: + - author=MickeyMoz + - status-success=pr-complete + - files~=(Gecko.kt|AndroidComponents.kt) + actions: + review: + type: APPROVE + message: MickeyMoz 💪 + merge: + method: rebase + strict: smart + - name: L10N - Auto Merge + conditions: + - author=mozilla-l10n-automation-bot + - status-success=pr-complete + - files~=(strings.xml) + actions: + review: + type: APPROVE + message: LGTM 😎 + merge: + method: rebase + strict: smart + - name: Release automation + conditions: + - base~=releases/.* + - author=st3fan + - status-success=pr-complete + - files~=(AndroidComponents.kt) + actions: + review: + type: APPROVE + message: 🚢 + merge: + method: rebase + strict: smart + delete_head_branch: + force: false