validate_actions.pipeline_stages.job_orderer

Job ordering module for GitHub Actions workflows.

This module provides implementations for analyzing job dependencies, execution order, and conditions to determine the optimal execution plan for a workflow.

Classes

DefaultJobOrderer(problems)

Analyzes and prepares workflows with proper job dependency analysis and needs contexts.

JobOrderer(problems)

Interface for job ordering and dependency analysis.

class validate_actions.pipeline_stages.job_orderer.JobOrderer(problems)[source]

Bases: ProcessStage[Workflow, Workflow]

Interface for job ordering and dependency analysis.

Parameters:

problems (Problems)

abstractmethod process(workflow)[source]

Process workflow with job dependency analysis and needs contexts.

Parameters:

workflow (Workflow) – The workflow to analyze and enrich with job ordering

Returns:

The workflow with job dependency analysis completed

Return type:

Workflow

class validate_actions.pipeline_stages.job_orderer.DefaultJobOrderer(problems)[source]

Bases: JobOrderer

Analyzes and prepares workflows with proper job dependency analysis and needs contexts.

Parameters:

problems (Problems)

process(workflow)[source]

Process workflow with job dependency analysis and needs contexts.

Parameters:

workflow (Workflow)

Return type:

Workflow