validate_actions.pipeline_stages.builders.workflow_builder¶
Default implementation of a builder coordinating workflow construction.
Classes
|
Constructs a structured representation of a GitHub Actions workflow file. |
- class validate_actions.pipeline_stages.builders.workflow_builder.DefaultWorkflowBuilder(problems, events_builder, jobs_builder, contexts, shared_components_builder)[source]¶
Bases:
WorkflowBuilderConstructs a structured representation of a GitHub Actions workflow file.
This class is responsible for parsing a GitHub Actions workflow YAML file and transforming it into a structured abstract syntax tree (AST) representation. It handles validation of the workflow structure during the parsing process and collects any problems encountered.
- Parameters:
problems (Problems)
events_builder (DefaultEventsBuilder)
jobs_builder (DefaultJobsBuilder)
contexts (Contexts)
shared_components_builder (SharedComponentsBuilder)