Skip to content

Commit

Permalink
.mergify.yml: Add mergify support
Browse files Browse the repository at this point in the history
Problem: Mergifyio is a nice bot to auto rebase and merge PRs that
are approved and have passed all tests.

Add initial mergify support.  Initial reviewers that can approve
pull requests are on team @chaos/powerman.  PRs must be tagged
with the merge-when-passing label.
  • Loading branch information
chu11 committed Jan 25, 2024
1 parent 5855486 commit b45ee82
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
queue_rules:
- name: default
conditions:
- base=master
- label="merge-when-passing"
- label!="work-in-progress"
- "approved-reviews-by=@chaos/powerman"
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by=0"
- -title~=^\[*[Ww][Ii][Pp]

pull_request_rules:
- name: rebase and merge when passing all checks
conditions:
- base=master
- label="merge-when-passing"
- label!="work-in-progress"
- -title~=^\[*[Ww][Ii][Pp]
- "approved-reviews-by=@flux-framework/core"
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by=0"
actions:
queue:
name: default
method: merge
update_method: rebase

0 comments on commit b45ee82

Please sign in to comment.