mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-12 21:30:08 +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 {
|
if setting.MailService == nil {
|
||||||
return 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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user