diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 00000000..ae7c3b13 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,16 @@ +pull_request_rules: + - name: Automatic merge + description: Merge when PR passes all branch protection and has label automerge + conditions: + - label = automerge + actions: + merge: + - name: Label conflicting pull requests + description: Add a label to a pull request with conflict to spot it easily + conditions: + - conflict + - '-closed' + actions: + label: + toggle: + - conflict