From 900c453746f1e911a9402528e3c978e7839410aa Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 10 May 2021 12:42:32 +0100 Subject: [PATCH] [mergify] automerge PRs for mergify prs with auto-bumps (#25632) --- .mergify.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.mergify.yml b/.mergify.yml index 73a20467c5e..de8b34d4f11 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -55,7 +55,17 @@ pull_request_rules: git merge upstream/{{base}} git push upstream {{head}} ``` - - name: Automatic squash and merge with success checks and the files matching the regex ^testing/environments/snapshot* are modified. + - name: automatic approval for mergify pull requests with bump updates + conditions: + - author=mergify[bot] + - check-success=beats-ci/pr-merge + - label=automation + - files~=^testing/environments/snapshot.*\.yml$ + actions: + review: + type: APPROVE + message: Automatically approving mergify + - name: automatic squash and merge with success checks and the files matching the regex ^testing/environments/snapshot* are modified. conditions: - check-success=beats-ci/pr-merge - label=automation