ci: re-enable label backports and decrease lock frequency

This commit is contained in:
ruthra kumar
2025-03-10 08:30:38 +05:30
parent 0afcf59ba1
commit 97733c8974
2 changed files with 28 additions and 28 deletions

View File

@@ -2,7 +2,7 @@ name: 'Lock threads'
on:
schedule:
- cron: '*/5 * * * *'
- cron: '0 0 * * *'
workflow_dispatch:
permissions:

View File

@@ -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