validate_actions.rules.action_output

Validates step output references to previous steps in workflow expressions.

Classes

ActionOutput(workflow, fixer)

Validates step output references in workflow expressions.

class validate_actions.rules.action_output.ActionOutput(workflow, fixer)[source]

Bases: Rule

Validates step output references in workflow expressions.

This rule ensures that when steps reference outputs from other steps using the steps.<step-id>.outputs.<output-name> syntax, both the step and the output exist and are accessible.

Parameters:
check()[source]

Check all jobs for invalid step output references.

Yields:

Problem – Issues with step output references

Return type:

Generator[Problem, None, None]