mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-12 06:19:38 +01:00
Revert "skip email notification trigger when run is not in final state"
This reverts commit 4e10abdb91a602fa0fa79d330b5c6588fa72aff2.
This commit is contained in:
parent
dcaeb90b37
commit
c0e333eaa2
@ -153,7 +153,7 @@ func MailActionsTrigger(ctx context.Context, sender *user_model.User, repo *repo
|
||||
if setting.MailService == nil {
|
||||
return nil
|
||||
}
|
||||
if !run.Status.IsDone() || run.Status.IsSkipped() || (run.Started == 0 && run.Stopped == 0) {
|
||||
if !run.Status.IsDone() || run.Status.IsSkipped() {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user