-
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: slowy07 <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
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,30 +1,40 @@ | ||
pull_request_rules: | ||
- name: CI automerge when passing all test | ||
conditions: | ||
# If the requirement are satisfied | ||
# The bot will trigger automerge | ||
- label=ready-to-merge | ||
- check-success=CodeQL | ||
- check-success=test-ubuntu (3.9) | ||
- check-success=test-ubuntu (3.10) | ||
- check-success=test-ubuntu (3.11) | ||
- check-success=test-ubuntu (3.12) | ||
- check-success=test-windows (3.11) | ||
- check-success=macOS-latest (3.11) | ||
# Approval by reviewer at least one maintainer | ||
- "#approved-reviews-by>=1" | ||
- base=master | ||
actions: | ||
comment: | ||
message: thanks for the contribution @{{author}} 🤩 | ||
# message if the pull request success to merge | ||
message: Thanks for the contribution @{{author}} 🤩 | ||
label: | ||
# adding label to merged pull request | ||
add: | ||
- already reviewed | ||
merge: | ||
method: squash | ||
|
||
- name: information about conflicts pull request | ||
conditions: | ||
# If the requirement are satisfied | ||
# The bot will trigger conflict process | ||
- conflict | ||
actions: | ||
comment: | ||
# Message if there's conflict on pull request | ||
message: your pull request are conflict @{{author}}, please fix it ! | ||
label: | ||
# adding label on pull request if get trigger | ||
add: | ||
- conflicts pull request |