spdx / spdx-spec

The SPDX specification in MarkDown and HTML formats.
https://spdx.github.io/spdx-spec/
Other
274 stars 133 forks source link

Validate only specific doc examples with SHACL in CI. #935

Closed licquia closed 2 months ago

licquia commented 2 months ago

The check assumes that JSON example snippets are all parts of a single JSON document that needs validating, but not all files are written that way. To avoid errors that have nothing to do with the correctness of the examples, we should only check files which meet the check's assumptions.

Fixes #912.

licquia commented 2 months ago

@JPEWdev GitHub wouldn't let me request you as a reviewer, but I'd appreciate a look-see to make sure I'm not missing something.