validate_actions.pipeline_stages.builders.events_builder

Default implementation of an builder for events.

Classes

DefaultEventsBuilder(problems)

Default implementation of the EventsBuilder interface.

class validate_actions.pipeline_stages.builders.events_builder.DefaultEventsBuilder(problems)[source]

Bases: EventsBuilder

Default implementation of the EventsBuilder interface.

Parameters:

problems (Problems)

build(events_in)[source]

Build events from the given input.

Parameters:

events_in (Union[ast.String, Dict[ast.String, Any], List[Any]]) – Input data representing the events. Starts after the on: keyword in the workflow file.

Returns:

A list of events built.

Return type:

List[Event]