Skip to content

Commit 3250bfc

Browse files
authored
ci: rightlib-sync: allow maintainers to modify PR (#13070)
1 parent df406e3 commit 3250bfc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ydb/ci/rightlib/sync-rightlib.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class RightlibSync:
1616
failed_comment_mark = "<!--RightLibSyncFailed-->"
1717
rightlib_check_status_name = "rightlib-merge"
1818

19-
def __init__(self, repo, base_branch, head_branch, token):
19+
def __init__(self, repo, base_branch, head_branch, token):
2020
self.repo_name = repo
2121
self.base_branch = base_branch
2222
self.head_branch = head_branch
@@ -180,7 +180,9 @@ def create_new_pr(self):
180180
else:
181181
pr_body = f"PR was created by rightlib sync script"
182182

183-
pr = self.repo.create_pull(self.base_branch, dev_branch_name, title=pr_title, body=pr_body)
183+
pr = self.repo.create_pull(
184+
self.base_branch, dev_branch_name, title=pr_title, body=pr_body, maintainer_can_modify=True
185+
)
184186
pr.add_to_labels(self.pr_label_rightlib)
185187

186188
def sync(self):

0 commit comments

Comments
 (0)