AtomGraph / RDF-syntax-check

GitHub action that validates the syntax of selected RDF files in the repository
https://github.com/marketplace/actions/rdf-syntax-check
Apache License 2.0
11 stars 1 forks source link

Add ability to exclude some files from consideration #3

Open rvesse opened 1 year ago

rvesse commented 1 year ago

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 commented 7 months ago

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

rvesse commented 7 months ago

@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