Skip to content

module-ci-workflow

get module-ci-workflow - Get CI workflow filename for a module

Returns the CI workflow filename for the specified module.

This replaces the jq pattern: echo "$MODULES_JSON" | jq -r '.[] | select(.moniker == "X") | .files.workflows.ci'

Exit codes: 0 - Workflow found, outputs filename (e.g., ci-r2r-cli.yaml) 1 - Module not found or no CI workflow configured

Flags

Flag Description
--basename Output only the basename (default true)

Examples

get module-ci-workflow r2r-cli       # Outputs: ci-r2r-cli.yaml
get module-ci-workflow eac-core      # Outputs: ci-eac-core.yaml

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.