Refactor ActionsTaskID (#36503)

This commit is contained in:
wxiaoguang authored and GitHub committed 2026-01-31 22:01:08 -08:00
1 parent 7292ae1ed5
commit 7ad9bf4523
9 files changed
+65 -73

No files matched your search

+1 -1
View File
@@ -317,7 +317,7 @@ func getStatusPayloadInfo(p *api.CommitStatusPayload, linkFormatter linkFormatte
text = fmt.Sprintf("Commit Status changed: %s - %s", refLink, p.Description)
color = greenColor
if withSender {
if user_model.IsGiteaActionsUserName(p.Sender.UserName) {
if user_model.GetSystemUserByName(p.Sender.UserName) != nil {
text += " by " + p.Sender.FullName
} else {
text += " by " + linkFormatter(setting.AppURL+url.PathEscape(p.Sender.UserName), p.Sender.UserName)