Skip to content

Commit 90aa050

Browse files
authored
ci(mergify): upgrade configuration to current format
1 parent 34f3ead commit 90aa050

1 file changed

Lines changed: 2 additions & 24 deletions

File tree

.mergify.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ commands_restrictions:
22
backport:
33
conditions:
44
- or:
5-
- sender-permission>=write
6-
- sender=github-actions[bot]
5+
- sender-permission>=write
6+
- sender=github-actions[bot]
77
queue_rules:
88
- name: default
99
merge_method: squash
@@ -73,17 +73,6 @@ pull_request_rules:
7373
message: |
7474
This pull request has been automatically closed by Mergify.
7575
There are some other up-to-date pull requests.
76-
- name: delete upstream branch after merging changes on .go-version or it's closed
77-
conditions:
78-
- or:
79-
- merged
80-
- closed
81-
- and:
82-
- label=automation
83-
- head~=^update-go-version
84-
- files~=^\.go-version$
85-
actions:
86-
delete_head_branch:
8776
- name: automatic approval for mergify pull requests with changes in bump-rules
8877
conditions:
8978
- author=mergify[bot]
@@ -109,17 +98,6 @@ pull_request_rules:
10998
actions:
11099
queue:
111100
name: default
112-
- name: delete upstream branch with changes on ^.mergify.yml that has been merged or closed
113-
conditions:
114-
- or:
115-
- merged
116-
- closed
117-
- and:
118-
- label=automation
119-
- head~=^add-backport-next.*
120-
- files~=^\.mergify\.yml$
121-
actions:
122-
delete_head_branch:
123101
- name: notify the backport has not been merged yet
124102
conditions:
125103
- -merged

0 commit comments

Comments
 (0)