Skip to content

Autodiscover files to validate #108

@anttiharju

Description

@anttiharju

Hi, thanks for this awesome tool.

I've been using it in CI and locally like this:

git ls-files -z ".github/*/*.yml" "*/action.yml" | xargs -0 action-validator --verbose

This is bit of an incantation and I would love for the tool to be a bit more ergonomic. Given that the focus is on GitHub Actions, it should be safe to assume that any of the files that need validating are tracked by Git, so I think we could bake in the git ls-files -z ".github/*/*.yml" "*/action.yml", so that the tool could be used like this:

action-validator

this would be similar to how actionlint works, it can be simply used like this:

actionlint

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr-welcomeThis would be a good fix/feature, but the maintainer isn't planning on doing the work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions