File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ pull_request_rules:
103103 - and :
104104 - label=automation
105105 - head~=^update-go-version
106- - files~=^.go-version$
106+ - files~=^\ .go-version$
107107 actions :
108108 delete_head_branch :
109109 - name : backport patches to 7.14 branch
@@ -119,3 +119,35 @@ pull_request_rules:
119119 - " 7.14"
120120 labels :
121121 - " backport"
122+ - name : automatic approval for mergify pull requests with changes in bump-rules
123+ conditions :
124+ - author=mergify[bot]
125+ - check-success=beats-ci/pr-merge
126+ - label=automation
127+ - files~=^\.mergify\.yml$
128+ - head~=^add-backport-next.*
129+ actions :
130+ review :
131+ type : APPROVE
132+ message : Automatically approving mergify
133+ - name : automatic squash and merge with success checks and the files matching the regex ^.mergify.yml is modified.
134+ conditions :
135+ - check-success=beats-ci/pr-merge
136+ - label=automation
137+ - files~=^\.mergify\.yml$
138+ - head~=^add-backport-next.*
139+ actions :
140+ merge :
141+ method : squash
142+ strict : smart+fasttrack
143+ - name : delete upstream branch with changes on ^.mergify.yml that has been merged or closed
144+ conditions :
145+ - or :
146+ - merged
147+ - closed
148+ - and :
149+ - label=automation
150+ - head~=^add-backport-next.*
151+ - files~=^\.mergify\.yml$
152+ actions :
153+ delete_head_branch :
You can’t perform that action at this time.
0 commit comments