Skip to content

Commit

Permalink
build: Setup schema validation action (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz authored Apr 25, 2024
1 parent dc9a637 commit 24b6b8d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/check-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check Schema

on:
push:
branches: "**"
tags-ignore: ["**"]
pull_request:

permissions:
checks: write

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@v4
- name: GraphQL Inspector
uses: kamilkisiela/graphql-inspector@master
with:
schema: 'main:schema.graphqls'
approve-label: breaking

0 comments on commit 24b6b8d

Please sign in to comment.