forked from tweag/rules_nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tweag#116 from tweag/mergify
Configure mergify
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
pull_request_rules: | ||
- name: automatic merge | ||
conditions: | ||
- "status-success~=buildkite/rules-nixpkgs(|/pr)" | ||
- "#approved-reviews-by>=1" | ||
- "label=merge-queue" | ||
- "base=master" | ||
actions: | ||
merge: | ||
method: merge | ||
strict: smart | ||
strict_method: rebase | ||
|
||
- name: delete head branch after merge | ||
conditions: | ||
- merged | ||
- closed | ||
actions: | ||
delete_head_branch: {} | ||
|
||
- name: remove from merge-queue after merge | ||
conditions: | ||
- merged | ||
actions: | ||
label: | ||
remove: | ||
- "merge-queue" | ||
|