Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to exclude some files from consideration #3

Open
rvesse opened this issue Jul 31, 2023 · 2 comments
Open

Add ability to exclude some files from consideration #3

rvesse opened this issue Jul 31, 2023 · 2 comments

Comments

@rvesse
Copy link

rvesse commented Jul 31, 2023

Currently the action finds any and all RDF files in the repository and validates their syntax. However when working on tools that process RDF it's quite common to include intentionally malformed files to test how bad inputs are handled. It would be nice if there was a way to explicitly exclude those files from being processed by this action.

@namedgraph
Copy link
Member

@rvesse sorry for the late reply 😅
Can't you use paths-ignore for this?

@rvesse
Copy link
Author

rvesse commented Feb 12, 2024

@rvesse sorry for the late reply 😅 Can't you use paths-ignore for this?

paths-ignore is relevant only for the triggering of GitHub Workflows

Once the workflow is triggered the action code at https://github.com/AtomGraph/RDF-syntax-check/blob/main/action.yml#L35-L37 finds all RDF files and validates them.

So as soon as I have a repository with one well formed RDF file and one intentionally malformed RDF file then the action will fail once triggered, regardless of whether I configure the workflow containing the action to only trigger when the well formed RDF file is modified

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

No branches or pull requests

2 participants