forked from kamilkisiela/graphql-inspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (28 loc) · 884 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'GraphQL Inspector'
author: 'Kamil Kisiela <[email protected]>'
description: 'Tooling for GraphQL. Compare schemas, find breaking changes, find similar types.'
branding:
icon: 'search'
color: 'orange'
inputs:
annotations:
description: 'Use annotation (enabled by default)'
fail-on-breaking:
description: 'Fail on breaking changes (enabled by default)'
schema:
description: |
Ref and Path to GraphQL Schema (e.g. "master:schema.graphql")
* Ref is needed where 'endpoint' is not defined
required: true
endpoint:
description: |
Url to your GraphQL API
When using an endpoint, 'schema' should point to a file (without a reference - branch name for example)
github-token:
description: 'Github Token'
outputs:
changes:
description: 'Total number of changes'
runs:
using: 'node12'
main: 'action/index.js'