Skip to content

Commit

Permalink
docs: recommend using main branch for action
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Feb 4, 2025
1 parent e5472dc commit 26a171d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The action can be used to simply check that the schema will federate by setting
##### Inputs

```yaml
- uses: diamondlightsource/graph-federation@v1
- uses: diamondlightsource/graph-federation@main
with:
# A unique name given to the subgraph.
# Required.
Expand Down Expand Up @@ -96,7 +96,7 @@ steps:
path: test-schema.graphql

- name: Update Supergraph
uses: diamondlightsource/graph-federation@v1
uses: diamondlightsource/graph-federation@main
with:
name: test
routing-url: https://example.com/graphql
Expand Down
4 changes: 2 additions & 2 deletions docs/how-tos/add-subgraph-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Setting `publish` to false will simply compose the new schema, without creating
federate:
runs-on: ubuntu-latest
needs: generate_schema
uses: diamondlightsource/graph-federation@v1
uses: diamondlightsource/graph-federation@main
with:
name: example
routing-url: https://example.com/graphql
Expand Down Expand Up @@ -103,7 +103,7 @@ A [GitHub App](https://docs.github.com/en/apps/creating-github-apps/about-creati
update:
runs-on: ubuntu-latest
needs: generate_schema
uses: diamondlightsource/graph-federation@v1
uses: diamondlightsource/graph-federation@main
with:
name: example
routing-url: https://example.com/graphql
Expand Down

0 comments on commit 26a171d

Please sign in to comment.