diamondlightsource/Update Supergraph

Perform supergraph composition (Cosmo) and create PR

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: diamondlightsource/graph-federation@2ca3956fc491773f5e5c03c5a96eed59b1d7ad40 # supergraph-schema@v3.2.0

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

namedescriptionrequireddefault
nameA unique name given to the subgraphyes
routing-urlThe public-facing URL of the subgraphyes
subscription-urlOptional WS/SSE subscription URL for this subgraph in Cosmo configno
subscription-protocolSubscription protocol (e.g., ws, sse). Only used if subscription-url is set.nows
subgraph-schema-artifactThe name of an artifact from this workflow run containing the subgraph schemayes
subgraph-schema-filenameThe name of the subgraph schema file within the artifact (e.g. schema.graphql)yes
execution-config-artifactThe name of the artifact to be created that contains the Cosmo router execution configyesrouter-execution-config
execution-config-filenameThe filename of the composed Cosmo router execution configyesrouter-execution-config.json
supergraph-artifactThe name of the artifact to be created that contains the composed supergraph schemayessupergraph-schema
supergraph-filenameThe filename of the composed supergraph schemayessupergraph.graphql
github-app-idThe ID of the GitHub App used to create the commit / pull requestno
github-app-private-keyThe private key of the GitHub App used to create the commit / pull requestno
publishWhether to create a branch and PRyes${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
namedescription
execution-config-artifact-idThe id of the artifact containing the Cosmo router execution config
execution-config-artifact-urlThe url of the artifact containing the Cosmo router execution config
supergraph-artifact-idThe id of the artifact containing the supergraph schema
supergraph-artifact-urlThe url of the artifact containing the supergraph schema