github/mergify: init

This commit is contained in:
Matt Sturgeon 2024-06-25 20:07:17 +01:00
parent 1b3bda78b4
commit d823c1463e
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

21
.github/mergify.yaml vendored Normal file
View file

@ -0,0 +1,21 @@
# Essential reading on condition syntax:
# https://docs.mergify.com/configuration/conditions/#testing-and-debugging-conditions
# https://docs.mergify.com/merge-queue
queue_rules:
- name: default
update_method: rebase
merge_method: fast-forward
merge_conditions:
- check-success = buildbot/nix-eval
queue_conditions:
- or:
# Allow queuing PRs that have been approved
- "#approved-reviews-by >= 1"
# Allow queuing flake.lock updates without approval
- and:
- "#files = 1"
- files = flake.lock
- author = GaetanLepage