fix(formatters): dedupe push count line, link workflow run name to actions

This commit is contained in:
RhenCloud 2026-08-13 19:37:20 +08:00
parent dfb65ef70d
commit cf65111e4e
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
5 changed files with 16 additions and 18 deletions

View file

@ -88,12 +88,11 @@ export const en = {
push: {
force_push: "**Force push**",
branch_created: "Branch created",
commits_pushed: "**{count}** commit{s} pushed to {ref}",
view_comparison: "[View comparison]({url})",
added: "+{count} added",
removed: "-{count} removed",
modified: "~{count} modified",
title: "{repo}: Pushed {count} commit{s}",
title: "{repo}: Pushed {count} commit{s} to {ref}",
},
pr: {
action_pr: "{emoji}**{action}** pull request",
@ -108,7 +107,7 @@ export const en = {
action_comment: "{emoji}**{action}** comment",
},
workflow_run: {
title: "{repo}: {name} — {conclusion}",
title: "{repo}: {run}",
},
workflow_job: {
title: "{repo}: Job {name} — {conclusion}",

View file

@ -108,7 +108,7 @@ export const zh = {
action_comment: "{emoji}**{action}** 评论",
},
workflow_run: {
title: "{repo}: {name} — {conclusion}",
title: "{repo}: {run}",
},
workflow_job: {
title: "{repo}: 作业 {name} — {conclusion}",