File tree Expand file tree Collapse file tree 4 files changed +464
-0
lines changed Expand file tree Collapse file tree 4 files changed +464
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments