Skip to content

Commit

Permalink
ci(Mergify): configuration update (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
slowy07 authored Aug 3, 2024
1 parent 09fe8c6 commit ed05b97
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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=ubuntu-latest (3.9)
- check-success=ubuntu-latest (3.10)
- check-success=ubuntu-latest (3.11)
- check-success=macOS-latest (3.11)
# Approval by reviewer at least one maintainer
# - "#approved-reviews-by>=1"
- base=main
actions:
comment:
# 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

0 comments on commit ed05b97

Please sign in to comment.