cardinalby / schema-validator-action

JSON Schema validator Action
MIT License
11 stars 2 forks source link

Validate a set of files by glob pattern #1

Closed sim642 closed 2 years ago

sim642 commented 2 years ago

E.g. validate all files matching the glob pattern conf/**.json against a particular schema.

cardinalby commented 2 years ago

Hi! Thanks for the feedback.

As I see in other actions, a more common form of pointing to multiple files is a comma-separated list of file names. Probably, it can contain glob patterns as well.

Unfortunately, I don't have the capacity for this now but will definitely look at it later. Meanwhile, you are welcome to create a pull request if you decide to implement it by yourself.

cardinalby commented 2 years ago

@sim642 Proposed feature was implemented in version 1.1.0. It's also available under @v1 and @master. I made both | separators and glob patterns allowed in file input.