Usage in CI
You can runwgc subgraph check
on pull requests to validate changes to your subgraphs. The CLI is aware of the environment in which it runs. Here is an example using GitHub actions:
GitHub App Integration
By installing the Cosmo GitHub App onto your repositories, we can apply status checks to commits in your pull request.
Please ensure your branch is protected; otherwise, a developer can still merge a PR with a failing check.