summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Kozlovskii <[email protected]>2024-12-27 10:11:58 +0100
committerGitHub <[email protected]>2024-12-27 12:11:58 +0300
commit3250bfc00d8fcd506aefa442b2e71b142130ca8f (patch)
tree5cb563048d5484b59903bf4f5f1d110fdd783a00
parentdf406e37ec9cee1b4bbdb94394e17bf32dc780eb (diff)
ci: rightlib-sync: allow maintainers to modify PR (#13070)
-rwxr-xr-xydb/ci/rightlib/sync-rightlib.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ydb/ci/rightlib/sync-rightlib.py b/ydb/ci/rightlib/sync-rightlib.py
index 74b5ec5642d..3776ae8a8e1 100755
--- a/ydb/ci/rightlib/sync-rightlib.py
+++ b/ydb/ci/rightlib/sync-rightlib.py
@@ -16,7 +16,7 @@ class RightlibSync:
failed_comment_mark = "<!--RightLibSyncFailed-->"
rightlib_check_status_name = "rightlib-merge"
- def __init__(self, repo, base_branch, head_branch, token):
+ def __init__(self, repo, base_branch, head_branch, token):
self.repo_name = repo
self.base_branch = base_branch
self.head_branch = head_branch
@@ -180,7 +180,9 @@ class RightlibSync:
else:
pr_body = f"PR was created by rightlib sync script"
- pr = self.repo.create_pull(self.base_branch, dev_branch_name, title=pr_title, body=pr_body)
+ pr = self.repo.create_pull(
+ self.base_branch, dev_branch_name, title=pr_title, body=pr_body, maintainer_can_modify=True
+ )
pr.add_to_labels(self.pr_label_rightlib)
def sync(self):