Skip to content

False Positive On Aliases In Mapping Nodes #133

@Kurt-von-Laven

Description

@Kurt-von-Laven

Actionlint complains "with" section is alias node but mapping node is expected [syntax-check] on valid YAML syntax when anchors and aliases are used with mapping nodes:

- name: Run my-action.
  run: my-organization/my-action
  with: &my-action-inputs
    a: b
    c: d
    e: f
- name: Run my-action again.
  run: my-organization/my-action
  with: *my-action-inputs

I am uncertain how one would suppress the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions