We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a252500 + 40463d5 commit 5520edaCopy full SHA for 5520eda
.mergify.yml
@@ -1,12 +1,14 @@
1
pull_request_rules:
2
- - name: Add a queue label when PR is queued
3
- description: Toggle the queue label when a pull request is (un)queued.
+ - name: "Close PRs opened from master"
4
conditions:
5
- - queue-position > 0
+ - author!=mergify[bot]
+ - base!=master
6
+ - head=master
7
actions:
- label:
8
- toggle:
9
- - merge-queued
+ comment:
+ message: >
10
+ 🚫 Pull requests must not be created by the `master` branch. Please use a feature branch.
11
+ close: {}
12
- name: Label Mergify Stacks PRs
13
description: Pull requests that are part of a Mergify stack should be labeled as such
14
0 commit comments