Skip to content

Add support for validating multiple schema files#7

Open
ivanauth wants to merge 3 commits intoauthzed:mainfrom
ivanauth:feat/issue-6-multiple-files
Open

Add support for validating multiple schema files#7
ivanauth wants to merge 3 commits intoauthzed:mainfrom
ivanauth:feat/issue-6-multiple-files

Conversation

@ivanauth
Copy link
Copy Markdown
Contributor

@ivanauth ivanauth commented Jan 6, 2026

Description

Adds the ability to validate multiple schema files in a single action run. Previously, only one file could be validated at a time.

The new validationfiles input accepts:

  • Newline-separated file paths
  • Comma-separated file paths
  • Glob patterns including recursive **

The existing validationfile input continues to work for backward compatibility.

Changes

  • Add new validationfiles input to action.yml
  • Rewrite entrypoint.sh to handle multiple files and glob expansion
  • Update README with usage examples

Fixes #6

@ivanauth ivanauth force-pushed the feat/issue-6-multiple-files branch from d4a2802 to 07699f4 Compare January 13, 2026 15:09
@ivanauth ivanauth force-pushed the feat/issue-6-multiple-files branch from 07699f4 to 420b9a4 Compare March 30, 2026 17:31
Comment thread action.yml Outdated
validationfile:
description: "path to the YAML file containing schema, test relationships, assertions and expected relations"
required: true
description: "path to the YAML file containing schema, test relationships, assertions and expected relations (for single file validation)"
Copy link
Copy Markdown

@miparnisari miparnisari Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this really only work with YAML? it should work with .zed too 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, thanks!

Comment thread README.md Outdated

```yaml
steps:
- uses: "actions/checkout@v4"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- uses: "actions/checkout@v4"
- uses: "actions/checkout@v6"

here and everywhere

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thank you

miparnisari
miparnisari previously approved these changes Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow the action to run on a list of files

2 participants