aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Kozlovskii <nmk@ydb.tech>2024-12-25 14:19:53 +0100
committerGitHub <noreply@github.com>2024-12-25 13:19:53 +0000
commitc19b139582006a4e50993664b725209825e2336b (patch)
tree5b91899ed3af38ba220722d9d27ae6136de83ed7
parent46419b617046ab0b7d80aa8ace358bfc8a71e810 (diff)
downloadydb-c19b139582006a4e50993664b725209825e2336b.tar.gz
ci: fix commit message in rightlib sync merge commit (#12986)
-rwxr-xr-xydb/ci/rightlib/sync-rightlib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/ci/rightlib/sync-rightlib.py b/ydb/ci/rightlib/sync-rightlib.py
index 02438b7d19..74b5ec5642 100755
--- a/ydb/ci/rightlib/sync-rightlib.py
+++ b/ydb/ci/rightlib/sync-rightlib.py
@@ -96,8 +96,9 @@ class RightlibSync:
self.git_run("fetch", "origin", f"pull/{pr.number}/head:PR")
self.git_run("checkout", self.base_branch)
+ commit_msg = f"Merge pull request #{pr.number} from {pr.head.user.login}/{pr.head.ref}"
try:
- self.git_run("merge", "PR", "--no-edit")
+ self.git_run("merge", "PR", "-m", commit_msg)
except subprocess.CalledProcessError:
self.add_failed_comment(pr, "Unable to merge PR.")
self.add_pr_failed_label(pr)