Skip to content

Commit 1ab47cc

Browse files
Initial commit
0 parents  commit 1ab47cc

File tree

4 files changed

+464
-0
lines changed

4 files changed

+464
-0
lines changed

.github/workflows/presubmits.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: json-yaml-validate
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
jobs:
13+
validate-signals:
14+
runs-on: ubuntu-latest
15+
steps:
16+
# Step 1: Check out the current repository
17+
- uses: actions/checkout@v4
18+
19+
# Step 2: Check out the central schema repository
20+
- name: Checkout schemas repo
21+
uses: actions/checkout@v4
22+
with:
23+
repository: OBDb/.schemas
24+
path: .schemas
25+
26+
# Step 3: Validate with schema from the central repository
27+
- name: Validate signalsets
28+
id: json-yaml-validate-v3
29+
uses: GrantBirki/[email protected]
30+
with:
31+
comment: "true"
32+
base_dir: signalsets/v3/
33+
json_schema: .schemas/signals.json

0 commit comments

Comments
 (0)