add flag to subject
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
kekskurse 2025-08-26 11:12:42 +02:00
parent fc3549d722
commit 0239b0cab2

View file

@ -80,10 +80,10 @@ func sendNotification(result jobResult, notification notificationConfig) error {
msg.Priority = 10
if result.isSuccess() {
title = "✅ [scron] " + result.job.Name
title = "✅ [scron][success] " + result.job.Name
msg.Priority = -1
} else {
title = "❌ [scron] " + result.job.Name
title = "❌ [scron][error] " + result.job.Name
}
msg.Message = result.outputString