Skip to content

Commit c19b139

Browse files
authored
ci: fix commit message in rightlib sync merge commit (#12986)
1 parent 46419b6 commit c19b139

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/ci/rightlib/sync-rightlib.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ def git_merge_pr(self, pr: PullRequest):
9696
self.git_run("fetch", "origin", f"pull/{pr.number}/head:PR")
9797
self.git_run("checkout", self.base_branch)
9898

99+
commit_msg = f"Merge pull request #{pr.number} from {pr.head.user.login}/{pr.head.ref}"
99100
try:
100-
self.git_run("merge", "PR", "--no-edit")
101+
self.git_run("merge", "PR", "-m", commit_msg)
101102
except subprocess.CalledProcessError:
102103
self.add_failed_comment(pr, "Unable to merge PR.")
103104
self.add_pr_failed_label(pr)

0 commit comments

Comments
 (0)