Skip to content

Commit

Permalink
Automatically set PR merger as backport PR assignee (#24430)
Browse files Browse the repository at this point in the history
* Automatically set PR author as backport PR assignee

* Use merged_by instead of author for assignee
  • Loading branch information
jstarry authored Apr 19, 2022
1 parent d6ff50b commit 697c9e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ pull_request_rules:
- label=feature-gate
actions:
backport:
assignees:
- "{{ merged_by }}"
ignore_conflicts: true
labels:
- feature-gate
Expand All @@ -119,6 +121,8 @@ pull_request_rules:
- label!=feature-gate
actions:
backport:
assignees:
- "{{ merged_by }}"
ignore_conflicts: true
branches:
- v1.9
Expand All @@ -128,6 +132,8 @@ pull_request_rules:
- label=feature-gate
actions:
backport:
assignees:
- "{{ merged_by }}"
ignore_conflicts: true
labels:
- feature-gate
Expand All @@ -139,6 +145,8 @@ pull_request_rules:
- label!=feature-gate
actions:
backport:
assignees:
- "{{ merged_by }}"
ignore_conflicts: true
branches:
- v1.10
Expand Down

0 comments on commit 697c9e1

Please sign in to comment.