Skip to content

Commit 83b707f

Browse files
committed
fix: 修复 Git 推送的消息推送作者错误问题
1 parent 5bad649 commit 83b707f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎external/notice/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function formatLeafBuildMessage() {
8080
function formatPushMessage(event: GitHubPushEvent) {
8181
const push = event;
8282

83-
const author: string = push.actor?.login || push.actor?.name || "unknown";
83+
const author: string = push.actor?.name || "unknown";
8484
const datetime = dayjs(push.timestamp).format("YYYY-MM-DD HH:mm");
8585
const branch = push.ref?.replace(/^refs\/heads\//, "") || "";
8686
const version = branch.slice(4);

0 commit comments

Comments
 (0)