Update workflow automation rules
Signed-off-by: Sydney Gomes <null>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
pull_request_rules:
|
||||
- name: Auto-close PRs on stable branch
|
||||
conditions:
|
||||
- and:
|
||||
- and:
|
||||
- author != RitvikSardana
|
||||
- author != frappe-pr-bot
|
||||
- author != mergify[bot]
|
||||
- author != aerodeval
|
||||
- or:
|
||||
- base = main
|
||||
actions:
|
||||
@@ -13,7 +13,6 @@ pull_request_rules:
|
||||
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"
|
||||
@@ -23,7 +22,6 @@ pull_request_rules:
|
||||
- develop
|
||||
assignees:
|
||||
- "{{ author }}"
|
||||
|
||||
- name: backport to main-hotfix
|
||||
conditions:
|
||||
- label = "backport main-hotfix"
|
||||
@@ -33,7 +31,6 @@ pull_request_rules:
|
||||
- main-hotfix
|
||||
assignees:
|
||||
- "{{ author }}"
|
||||
|
||||
- name: backport to main
|
||||
conditions:
|
||||
- label = "backport main"
|
||||
|
||||
Reference in New Issue
Block a user