Skip to content

Migrate to central schemas (#17) #2

Migrate to central schemas (#17)

Migrate to central schemas (#17) #2

Workflow file for this run

name: json-yaml-validate
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: write
jobs:
validate-signals:
runs-on: ubuntu-latest
steps:
# Step 1: Check out the current repository
- uses: actions/checkout@v4
# Step 2: Check out the central schema repository
- name: Checkout schemas repo
uses: actions/checkout@v4
with:
repository: OBDb/.schemas
path: .schemas
# Step 3: Validate with schema from the central repository
- name: Validate signalsets
id: json-yaml-validate-v3
uses: GrantBirki/json-yaml-validate@v2.7.1
with:
comment: "true"
base_dir: signalsets/v3/
json_schema: .schemas/signals.json