bod/Update GraphQL schema

Downloads a new version of your GraphQL schema and opens a pull request if it changed

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit May 31, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: bod/update-graphql-schema@56912340b8c65d42a51ac881e2b2144f873b5939 # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
schemaThe path to the schema file to be updatedyes
tokenThe github token to use to create the pull requestyes${{ github.token }}
graph[Apollo Studio users only] The identifier of the Apollo graph used to download the schema.no
key[Apollo Studio users only] The Apollo API key. See https://www.apollographql.com/docs/studio/api-keys/ for more information on how to get your API key.no
graph_variant[Apollo Studio users only] The variant of the Apollo graph used to download the schema.nocurrent
registryUrl[Apollo Studio users only] The registry url of the registry instance used to download the schema.nohttps://graphql.api.apollographql.com/api/graphql
endpointThe url of the GraphQL endpoint for introspectionno
headersA JSON object representing the HTTP headers to use while introspecting `endpoint`no
insecureDo not verify certificates during downloadnofalse
branchThe name of the branch to use to create the pull request. If not set, will use update-schema-MM-dd-HH:mmno
remoteThe remote to push the branch used to create the pull requestnoorigin
commit_user_nameName used for the commit usernogithub-actions[bot]
commit_user_emailEmail address used for the commit usernogithub-actions[bot]@users.noreply.github.com
commit_authorValue used for the commit author. Defaults to the username of whoever triggered this workflow run.no${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit_messageValue used for the commit message.noUpdate GraphQL Schema

no outputs