Skip to content

Commit

Permalink
[Tool] mergify configuration update: close backport conflict pr and a…
Browse files Browse the repository at this point in the history
…uto assign (StarRocks#18843)

mergify configuration update: close backport conflict pr and auto assign
Signed-off-by: iverson
  • Loading branch information
wanpengfei-git authored Mar 2, 2023
1 parent fbd07cb commit d462c1d
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ commands_restrictions:
- sender-permission>=read

pull_request_rules:
- name: ingore backport patches when conflict
- name: assign PRs with the pr author
conditions:
- check-success=modify-branch-label
- -merged
actions:
backport:
ignore_conflicts: false




assign:
add_users:
- "{{author}}"
- name: close pr when conflict
conditions:
- label=conflicts
- author=mergify
actions:
close:
message:
"Backport conflict, please reslove the conflict and resubmit the pr"

0 comments on commit d462c1d

Please sign in to comment.