0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-24 06:58:22 -05:00
websurfx/.mergify.yml
alamin655 466ed1bbb1
🤖 Improve the rules used by the Mergify bot. (#338)
* 🤖 ci: replace the approval rule to 2 & improve the checks rule (#338)

Signed-off-by: null <null>

* 🤖 ci: revert the one approval rule (#338)

Co-Authored-By: neon_arch <mustafadhuleb53@gmail.com>

* 🤖 ci: replace status checks rule to only check for success of the important checks (#338)

Co-Authored-By: neon_arch <mustafadhuleb53@gmail.com>

* 🚀 chore: bump the app version (#338)

---------

Signed-off-by: null <null>
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
2023-10-18 17:37:55 +03:00

20 lines
518 B
YAML

pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=2"
- check-success=build (stable)
- check-success=CodeFactor
- check-success=Rust project
actions:
queue:
method: squash
- name: automatic update of pull requests where more 5 commits behind
conditions:
- "#commits-behind>5"
actions:
update:
- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}