Skip to content

Update the ocabundleslist.json to have an entry per identifier and include the id in the entry #43

Update the ocabundleslist.json to have an entry per identifier and include the id in the entry

Update the ocabundleslist.json to have an entry per identifier and include the id in the entry #43

Workflow file for this run

name: "Check for existence of a OCABundle.json file"
on:
pull_request:
types: opened
jobs:
oca_validation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: "Check file existence"
id: check_files
uses: andstor/file-existence-action@v2
with:
files: "OCABundles/**/OCABundle.json"
- name: Commit files
if: steps.check_files.outputs.files_exists == 'true'
run: |
npm install -g ajv-cli
ajv validate -s OCABundles/validators/schema.json -d 'OCABundles/**/OCABundle.json'