cdevents / spec

A common specification for Continuous Delivery events
Apache License 2.0
125 stars 22 forks source link

pipelineRun and taskRun outcomes should be restricted with enums #159

Closed e-backmark-ericsson closed 3 months ago

e-backmark-ericsson commented 10 months ago

According to the current schemas, the pipelineRun.subject.content.outcome and taskRun.subject.content.outcome are not restricted with an enum, but the markdown doc assumes they are.

We should restrict the value range of the outcome and therefore the schemas should be updated to enable that.

e-backmark-ericsson commented 3 months ago

Done by #158