Skip to main content

Module workflow

Module workflow 

Source

Structs§

ActionStep
One step under runs.steps of an action file.
DuplicateKey
One repeated mapping key. The later line wins.
InvalidUses
Job-level uses: that is not a local or remote reusable workflow.
Job
One job under top-level jobs:.
LocalAction
A step calling uses: ./path in this repository.
Matrix
How many jobs one strategy.matrix starts.
MatrixAxis
One matrix axis, including keys that appear only under include.
ParsedAction
runs from an action file.
RemoteWorkflow
A reusable workflow in another repository, pinned to a tag, branch, or SHA.
ReusableCall
A job calling a reusable workflow.
RunsOn
runs-on for a job.
ScanError
The workflow directory or a workflow file could not be read.
Step
One step under jobs.<id>.steps.
Workflow
One workflow file.

Enums§

ReusableSource
Where the called workflow file lives.

Functions§

load_action
Read one action file. Invalid YAML names the file and the line.
locate_action
action.yml or action.yaml inside root/relative.
parse_action
Parse action YAML. Invalid YAML names the file and the line.
repository_root
Repository root for a file at <root>/.github/workflows/<file>.
scan_dir
Read *.yml and *.yaml files directly in dir, in path order.
scan_yaml
Scan one workflow document.