Assign backports for automerged PR to pr-subscribers group (#24523)
* Assign backports for automerged PR to pr-subscribers group * branch on community label * use anchor
This commit is contained in:
parent
25d85bcfca
commit
fed13b1f62
13
.mergify.yml
13
.mergify.yml
|
@ -108,8 +108,8 @@ pull_request_rules:
|
|||
- label=feature-gate
|
||||
actions:
|
||||
backport:
|
||||
assignees:
|
||||
- "{{ merged_by }}"
|
||||
assignees: &BackportAssignee
|
||||
- "{{ merged_by|replace('mergify[bot]', label|select('equalto', 'community')|first|default(author)|replace('community', '@solana-labs/community-pr-subscribers')) }}"
|
||||
ignore_conflicts: true
|
||||
labels:
|
||||
- feature-gate
|
||||
|
@ -121,8 +121,7 @@ pull_request_rules:
|
|||
- label!=feature-gate
|
||||
actions:
|
||||
backport:
|
||||
assignees:
|
||||
- "{{ merged_by }}"
|
||||
assignees: *BackportAssignee
|
||||
ignore_conflicts: true
|
||||
branches:
|
||||
- v1.9
|
||||
|
@ -132,8 +131,7 @@ pull_request_rules:
|
|||
- label=feature-gate
|
||||
actions:
|
||||
backport:
|
||||
assignees:
|
||||
- "{{ merged_by }}"
|
||||
assignees: *BackportAssignee
|
||||
ignore_conflicts: true
|
||||
labels:
|
||||
- feature-gate
|
||||
|
@ -145,8 +143,7 @@ pull_request_rules:
|
|||
- label!=feature-gate
|
||||
actions:
|
||||
backport:
|
||||
assignees:
|
||||
- "{{ merged_by }}"
|
||||
assignees: *BackportAssignee
|
||||
ignore_conflicts: true
|
||||
branches:
|
||||
- v1.10
|
||||
|
|
Loading…
Reference in New Issue