File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Validate schema changes
2
+
3
+ on :
4
+ pull_request_target :
5
+ branches :
6
+ - dev-2.x
7
+
8
+ jobs :
9
+ validate-gtfs :
10
+ if : github.repository_owner == 'opentripplanner'
11
+ name : Validate GraphQL schema changes
12
+ permissions :
13
+ contents : read
14
+ pull-requests : write
15
+ checks : write
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+
22
+ - uses : kamilkisiela/graphql-inspector@master
23
+ with :
24
+ name : Validate GTFS GraphQL schema changes
25
+ schema : ' dev-2.x:application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls'
26
+ annotations : false
27
+ fail-on-breaking : true
28
+ rules : |
29
+ ignoreDescriptionChanges
30
+
31
+ - uses : kamilkisiela/graphql-inspector@master
32
+ with :
33
+ name : Validate Transmodel GraphQL schema changes
34
+ schema : ' dev-2.x:application/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql'
35
+ annotations : false
36
+ fail-on-breaking : true
37
+ rules : |
38
+ ignoreDescriptionChanges
You can’t perform that action at this time.
0 commit comments