ci: re-enable label backports and decrease lock frequency
This commit is contained in:
2
.github/workflows/lock.yml
vendored
2
.github/workflows/lock.yml
vendored
@@ -2,7 +2,7 @@ name: 'Lock threads'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '*/5 * * * *'
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
||||
54
.mergify.yml
54
.mergify.yml
@@ -23,33 +23,33 @@ pull_request_rules:
|
||||
message: |
|
||||
@{{author}}, thanks for the contribution, but we do not accept pull requests on a stable branch. Please raise PR on an appropriate hotfix branch.
|
||||
https://github.com/frappe/erpnext/wiki/Pull-Request-Checklist#which-branch
|
||||
# - name: backport to develop
|
||||
# conditions:
|
||||
# - label="backport develop"
|
||||
# actions:
|
||||
# backport:
|
||||
# branches:
|
||||
# - develop
|
||||
# assignees:
|
||||
# - "{{ author }}"
|
||||
# - name: backport to version-14-hotfix
|
||||
# conditions:
|
||||
# - label="backport version-14-hotfix"
|
||||
# actions:
|
||||
# backport:
|
||||
# branches:
|
||||
# - version-14-hotfix
|
||||
# assignees:
|
||||
# - "{{ author }}"
|
||||
# - name: backport to version-15-hotfix
|
||||
# conditions:
|
||||
# - label="backport version-15-hotfix"
|
||||
# actions:
|
||||
# backport:
|
||||
# branches:
|
||||
# - version-15-hotfix
|
||||
# assignees:
|
||||
# - "{{ author }}"
|
||||
- name: backport to develop
|
||||
conditions:
|
||||
- label="backport develop"
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- develop
|
||||
assignees:
|
||||
- "{{ author }}"
|
||||
- name: backport to version-14-hotfix
|
||||
conditions:
|
||||
- label="backport version-14-hotfix"
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- version-14-hotfix
|
||||
assignees:
|
||||
- "{{ author }}"
|
||||
- name: backport to version-15-hotfix
|
||||
conditions:
|
||||
- label="backport version-15-hotfix"
|
||||
actions:
|
||||
backport:
|
||||
branches:
|
||||
- version-15-hotfix
|
||||
assignees:
|
||||
- "{{ author }}"
|
||||
- name: Automatic merge on CI success and review
|
||||
conditions:
|
||||
- status-success=linters
|
||||
|
||||
Reference in New Issue
Block a user