Skip to content
This repository was archived by the owner on Sep 7, 2025. It is now read-only.
This repository was archived by the owner on Sep 7, 2025. It is now read-only.

Parsing fails on GitHub Workflow when trying to parse files with fromJson variables of non-string type. #78

@graza-io

Description

@graza-io

Description

When attempting to parse a workflow file which contains fromJson variables of a non-string type, receiving a yaml parse error.

Example:

Attempting to parse https://github.com/Homebrew/homebrew-core/blob/01e8f86d86bebca1652570c754650488de40ce9b/.github/workflows/dispatch-build-bottle.yml
results in:

yaml: unmarshal errors:
  line 73: cannot unmarshal !!str `${{from...` into float64

What did you expect to happen?

Workflow to be parsed into pipeline successfully.

What happened instead?

YAML Unmarshal Error

yaml: unmarshal errors:
  line 73: cannot unmarshal !!str `${{from...` into float64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions