Skip to content

Commit

Permalink
build: Setup schema validation action
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz authored Apr 23, 2024
1 parent dc9a637 commit 4522baa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check Schema
on:
push:
branches: "**"
tags-ignore: ["**"]
pull_request:

jobs:
test:
name: Annotate Breaking Changes
runs-on: ubuntu-latest
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"
steps:
- name: Checkout
uses: actions/checkout@master
- uses: kamilkisiela/graphql-inspector@master
with:
schema: 'main:schema.graphql'
approve-label: breaking

0 comments on commit 4522baa

Please sign in to comment.