https://github.com/openactive/skos-compare-action
GitHub Action to compare SKOS files
https://github.com/openactive/skos-compare-action
Last synced: about 1 year ago
JSON representation
GitHub Action to compare SKOS files
- Host: GitHub
- URL: https://github.com/openactive/skos-compare-action
- Owner: openactive
- License: mit
- Created: 2024-03-22T12:37:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T12:31:07.000Z (over 2 years ago)
- Last Synced: 2025-04-02T16:14:37.230Z (over 1 year ago)
- Language: JavaScript
- Size: 909 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# skos-compare-action
GitHub Action to compare SKOS files, used by https://github.com/openactive/skos-vocabulary-workflows.
## Inputs
### `new_jsonld_file`
**Required** New JSON-LD SKOS file path.
### `old_jsonld_file`
**Required** Old JSON-LD SKOS file path.
## Outputs
### `hasChanges`
Boolean indicating if the SKOS file has changed
### `changeDescription`
Human-readable list of the prefLabels that have changed
## Example usage
```
uses: openactive/skos-compare-action@main
with:
new_jsonld_file: './activity-list-updated.jsonld'
old_jsonld_file: './activity-list.jsonld'
```