Skip to content

Commit 4487e15

Browse files
committed
Add notify processing in group steps
1 parent f76e49f commit 4487e15

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

plugin.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ func processNestedStepsEnv(steps []Step, env map[string]string) {
397397
steps[i].Env, _ = parseEnv(steps[i].RawEnv)
398398
steps[i].Build.Env, _ = parseEnv(steps[i].Build.RawEnv)
399399

400+
// Process notify for nested steps
401+
if steps[i].RawNotify != nil {
402+
setNotify(&steps[i].Notify, &steps[i].RawNotify)
403+
}
404+
400405
// Append top-level env to this step
401406
for key, value := range env {
402407
if steps[i].Command != nil || steps[i].Commands != nil {

0 commit comments

Comments
 (0)