From d0297435b58c0279a1cdb36a5d80ca4ede4ff42a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 2 Jul 2019 21:47:23 +0200 Subject: [PATCH] try builds: include a copyable version of the full commit SHA in comment --- homu/comments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homu/comments.py b/homu/comments.py index bd2f7a6..d289931 100644 --- a/homu/comments.py +++ b/homu/comments.py @@ -113,8 +113,8 @@ def render(self): urls = ", ".join( "[%s](%s)" % kv for kv in sorted(self.builders.items()) ) - return ":sunny: Try build successful - %s\nBuild commit: %s" % ( - urls, self.merge_sha, + return ":sunny: Try build successful - %s\nBuild commit: %s (`%s`)" % ( + urls, self.merge_sha, self.merge_sha, )