|
|
@ -305,16 +305,16 @@ func toConditions(from Constraints) droneyaml.Conditions {
|
|
|
|
Exclude: from.Environment.Exclude,
|
|
|
|
Exclude: from.Environment.Exclude,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Event: droneyaml.Condition{
|
|
|
|
Event: droneyaml.Condition{
|
|
|
|
Include: from.Event.Include,
|
|
|
|
Include: toPromote(from.Event.Include),
|
|
|
|
Exclude: from.Event.Exclude,
|
|
|
|
Exclude: toPromote(from.Event.Exclude),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Branch: droneyaml.Condition{
|
|
|
|
Branch: droneyaml.Condition{
|
|
|
|
Include: from.Branch.Include,
|
|
|
|
Include: from.Branch.Include,
|
|
|
|
Exclude: from.Branch.Exclude,
|
|
|
|
Exclude: from.Branch.Exclude,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Status: droneyaml.Condition{
|
|
|
|
Status: droneyaml.Condition{
|
|
|
|
Include: toPromote(from.Status.Include),
|
|
|
|
Include: from.Status.Include,
|
|
|
|
Exclude: toPromote(from.Status.Exclude),
|
|
|
|
Exclude: from.Status.Exclude,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Matrix: from.Matrix,
|
|
|
|
Matrix: from.Matrix,
|
|
|
|
}
|
|
|
|
}
|
|
|
|