mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Add a doc-string for ReleaseBranch._assign_new_pr
This commit is contained in:
parent
1da02adc8d
commit
ca837e6755
@ -240,6 +240,7 @@ Merge it only if you intend to backport changes to the target branch, otherwise
|
|||||||
self._assign_new_pr(self.backport_pr)
|
self._assign_new_pr(self.backport_pr)
|
||||||
|
|
||||||
def _assign_new_pr(self, new_pr: PullRequest):
|
def _assign_new_pr(self, new_pr: PullRequest):
|
||||||
|
"""Assign `new_pr` to author, merger and assignees of an original PR"""
|
||||||
# It looks there some race when multiple .add_to_assignees are executed,
|
# It looks there some race when multiple .add_to_assignees are executed,
|
||||||
# so we'll add all at once
|
# so we'll add all at once
|
||||||
assignees = [self.pr.user, self.pr.merged_by]
|
assignees = [self.pr.user, self.pr.merged_by]
|
||||||
|
Loading…
Reference in New Issue
Block a user