Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
electricsidecar-dev authored Dec 2, 2024
0 parents commit 616adf2
Show file tree
Hide file tree
Showing 4 changed files with 464 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/presubmits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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/[email protected]
with:
comment: "true"
base_dir: signalsets/v3/
json_schema: .schemas/signals.json
Loading

0 comments on commit 616adf2

Please sign in to comment.