diamondlightsource/Update Supergraph
Perform supergraph composition (Cosmo) and create PR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 9, 2026
- License
- Apache 2.0
Pinned Snippet
uses: diamondlightsource/graph-federation@2ca3956fc491773f5e5c03c5a96eed59b1d7ad40 # supergraph-schema@v3.2.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| name | A unique name given to the subgraph | yes | — |
| routing-url | The public-facing URL of the subgraph | yes | — |
| subscription-url | Optional WS/SSE subscription URL for this subgraph in Cosmo config | no | — |
| subscription-protocol | Subscription protocol (e.g., ws, sse). Only used if subscription-url is set. | no | ws |
| subgraph-schema-artifact | The name of an artifact from this workflow run containing the subgraph schema | yes | — |
| subgraph-schema-filename | The name of the subgraph schema file within the artifact (e.g. schema.graphql) | yes | — |
| execution-config-artifact | The name of the artifact to be created that contains the Cosmo router execution config | yes | router-execution-config |
| execution-config-filename | The filename of the composed Cosmo router execution config | yes | router-execution-config.json |
| supergraph-artifact | The name of the artifact to be created that contains the composed supergraph schema | yes | supergraph-schema |
| supergraph-filename | The filename of the composed supergraph schema | yes | supergraph.graphql |
| github-app-id | The ID of the GitHub App used to create the commit / pull request | no | — |
| github-app-private-key | The private key of the GitHub App used to create the commit / pull request | no | — |
| publish | Whether to create a branch and PR | yes | ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} |
Outputs
| name | description |
|---|---|
| execution-config-artifact-id | The id of the artifact containing the Cosmo router execution config |
| execution-config-artifact-url | The url of the artifact containing the Cosmo router execution config |
| supergraph-artifact-id | The id of the artifact containing the supergraph schema |
| supergraph-artifact-url | The url of the artifact containing the supergraph schema |