-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(Mergify): configuration update (#166)
Signed-off-by: Shambhavi Mishra <nebulatris@gmail.com>
- Loading branch information
1 parent
b473208
commit 92d2c74
Showing
1 changed file
with
26 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
pull_request_rules: | ||
- name: Automatic merge when CI passes and reviews approve | ||
conditions: | ||
- "#approved-reviews-by>=1" | ||
- check-success=CI # replace "CI" with the name of your CI status check | ||
actions: | ||
merge: | ||
method: merge | ||
pull_request_rules: | ||
- name: Automatic merge when CI passes and reviews approve | ||
conditions: | ||
- "#approved-reviews-by>=1" | ||
- check-success=CI # replace "CI" with the name of your CI status check | ||
actions: | ||
merge: | ||
method: merge | ||
- name: Ask to resolve conflict | ||
conditions: | ||
- conflict | ||
actions: | ||
comment: | ||
message: This pull request is now in conflicts. Could you fix this @{{author}} ? | ||
- name: comment when a pull request is merged | ||
conditions: | ||
- merged | ||
actions: | ||
comment: | ||
message: Thank you for your contribution @{{author}}! Your pull request has been merged. | ||
- name: comment when a pull request is labeled "needs review" | ||
conditions: | ||
- label=needs review | ||
actions: | ||
comment: | ||
message: Thank you for your contribution! A reviewer will be assigned soon. |