Update workflow automation rules
Signed-off-by: Sydney Gomes <null>
This commit is contained in:
85
.mergify.yml
85
.mergify.yml
@@ -1,45 +1,42 @@
|
|||||||
pull_request_rules:
|
pull_request_rules:
|
||||||
- name: Auto-close PRs on stable branch
|
- name: Auto-close PRs on stable branch
|
||||||
conditions:
|
conditions:
|
||||||
- and:
|
- and:
|
||||||
- and:
|
- author != RitvikSardana
|
||||||
- author!=RitvikSardana
|
- author != frappe-pr-bot
|
||||||
- author!=frappe-pr-bot
|
- author != mergify[bot]
|
||||||
- author!=mergify[bot]
|
- author != aerodeval
|
||||||
- or:
|
- or:
|
||||||
- base=main
|
- base = main
|
||||||
actions:
|
actions:
|
||||||
close:
|
close:
|
||||||
comment:
|
comment:
|
||||||
message: |
|
message: |
|
||||||
@{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on develop branch.
|
@{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on develop branch.
|
||||||
|
- name: backport to develop
|
||||||
- name: backport to develop
|
conditions:
|
||||||
conditions:
|
- label = "backport develop"
|
||||||
- label="backport develop"
|
actions:
|
||||||
actions:
|
backport:
|
||||||
backport:
|
branches:
|
||||||
branches:
|
- develop
|
||||||
- develop
|
assignees:
|
||||||
assignees:
|
- "{{ author }}"
|
||||||
- "{{ author }}"
|
- name: backport to main-hotfix
|
||||||
|
conditions:
|
||||||
- name: backport to main-hotfix
|
- label = "backport main-hotfix"
|
||||||
conditions:
|
actions:
|
||||||
- label="backport main-hotfix"
|
backport:
|
||||||
actions:
|
branches:
|
||||||
backport:
|
- main-hotfix
|
||||||
branches:
|
assignees:
|
||||||
- main-hotfix
|
- "{{ author }}"
|
||||||
assignees:
|
- name: backport to main
|
||||||
- "{{ author }}"
|
conditions:
|
||||||
|
- label = "backport main"
|
||||||
- name: backport to main
|
actions:
|
||||||
conditions:
|
backport:
|
||||||
- label="backport main"
|
branches:
|
||||||
actions:
|
- main
|
||||||
backport:
|
assignees:
|
||||||
branches:
|
- "{{ author }}"
|
||||||
- main
|
|
||||||
assignees:
|
|
||||||
- "{{ author }}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user