mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +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 }})
|
{{ title }} (#{{ number }})
|
||||||
|
|
||||||
{{ body }}
|
{{ 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