mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-25 01:28:29 +00:00
ci: configure auto-merge for backport PRs
Add auto-merge configuration for backport PRs. Any source PR with the `automerge-backports` label will automatically have auto merge enabled on the backports created by @Mergifyio
This commit is contained in:
11
.mergify.yml
11
.mergify.yml
@@ -92,3 +92,14 @@ pull_request_rules:
|
||||
{{ title }} (#{{ number }})
|
||||
|
||||
{{ body }}
|
||||
|
||||
- name: Auto-merge eligible backport PRs
|
||||
conditions:
|
||||
- author=mergify[bot]
|
||||
- base~=^version-(15|16)-hotfix$
|
||||
- backport_of.label=automerge-backports
|
||||
- check-success=*
|
||||
actions:
|
||||
merge:
|
||||
method: squash
|
||||
commit_message: title+body
|
||||
|
||||
Reference in New Issue
Block a user