Skip to content

Commit

Permalink
ci: fix commit message in rightlib sync merge commit (#12986)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitka authored Dec 25, 2024
1 parent 46419b6 commit c19b139
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ydb/ci/rightlib/sync-rightlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ def git_merge_pr(self, pr: PullRequest):
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)
Expand Down

0 comments on commit c19b139

Please sign in to comment.