diff --git a/.mergify.yml b/.mergify.yml index 1755e3e445..57852015eb 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,6 +1,8 @@ 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) @@ -8,12 +10,16 @@ pull_request_rules: - 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: @@ -21,10 +27,14 @@ pull_request_rules: - 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