From d823c1463ed7b26c4f4700244894958fff237960 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 25 Jun 2024 20:07:17 +0100 Subject: [PATCH] github/mergify: init --- .github/mergify.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/mergify.yaml diff --git a/.github/mergify.yaml b/.github/mergify.yaml new file mode 100644 index 00000000..eac27d7b --- /dev/null +++ b/.github/mergify.yaml @@ -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 +