fix(push): link branch ref in title as inline code

This commit is contained in:
RhenCloud 2026-08-16 23:54:02 +08:00
parent 3bcc98efc8
commit 2975087262
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
3 changed files with 5 additions and 3 deletions

View file

@ -116,7 +116,7 @@ export function formatPush(
count,
s: count !== 1 ? "s" : "",
repo: repo ?? t("common.repository"),
ref,
ref: isTagPush ? tagLink(baseUrl, rawRef, ref) : branchLink(baseUrl, rawRef, ref),
}),
url: compareUrl,
color: GITHUB_COLORS.push,