43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
pull_request_rules:
|
|
- name: Auto-close PRs on stable branch
|
|
conditions:
|
|
- and:
|
|
- author != RitvikSardana
|
|
- author != frappe-pr-bot
|
|
- author != mergify[bot]
|
|
- author != aerodeval
|
|
- or:
|
|
- base = main
|
|
actions:
|
|
close:
|
|
comment:
|
|
message: |
|
|
@{{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
|
|
conditions:
|
|
- label = "backport develop"
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- develop
|
|
assignees:
|
|
- "{{ author }}"
|
|
- name: backport to main-hotfix
|
|
conditions:
|
|
- label = "backport main-hotfix"
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- main-hotfix
|
|
assignees:
|
|
- "{{ author }}"
|
|
- name: backport to main
|
|
conditions:
|
|
- label = "backport main"
|
|
actions:
|
|
backport:
|
|
branches:
|
|
- main
|
|
assignees:
|
|
- "{{ author }}"
|