Skip to content

Commit

Permalink
chore: don't have mergify delete branches (#10264)
Browse files Browse the repository at this point in the history
Branches are automatically deleted by GitHub itself, so Mergify doesn't
have to do that.

In fact, Mergify trying to do it leaves the end result of every
closed PR with a failing "cross" icon because the Mergify action
to delete the head branch fails.
  • Loading branch information
rix0rrr authored Sep 9, 2020
1 parent 562f891 commit effceb5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pull_request_rules:
method: squash
strict_method: merge
commit_message: title+body
delete_head_branch: {}
conditions:
- base!=release
- -title~=(WIP|wip)
Expand All @@ -41,7 +40,6 @@ pull_request_rules:
method: squash
strict_method: merge
commit_message: title+body
delete_head_branch: {}
conditions:
- base!=release
- -title~=(WIP|wip)
Expand All @@ -67,7 +65,6 @@ pull_request_rules:
method: merge
strict_method: merge
commit_message: title+body
delete_head_branch: {}
conditions:
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
Expand Down Expand Up @@ -115,7 +112,6 @@ pull_request_rules:
# It's not dangerous: GitHub branch protection settings prevent merging stale branches.
strict: false
method: squash
delete_head_branch: {}
conditions:
- -title~=(WIP|wip)
- -label~=(blocked|do-not-merge)
Expand Down

0 comments on commit effceb5

Please sign in to comment.