File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Apollo Check
2+ on :
3+ pull_request :
4+ jobs :
5+ build :
6+ runs-on : ubuntu-latest
7+ env :
8+ APOLLO_VCS_BRANCH : ${{ github.head_ref }}
9+ APOLLO_VCS_COMMIT : ${{ github.event.pull_request.head.sha }}
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : apollographql-gh-actions/install-rover@v1
13+ - uses : apollographql-gh-actions/rover-subgraph-lint@v1
14+ with :
15+ apollo-key : ${{ secrets.APOLLO_KEY }}
16+ graph-ref : ${{ secrets.APOLLO_GRAPH_REF }}
17+ name : github
18+ schema : ./github.graphql
19+ - uses : apollographql-gh-actions/rover-subgraph-check@v1
20+ with :
21+ apollo-key : ${{ secrets.APOLLO_KEY }}
22+ graph-ref : ${{ secrets.APOLLO_GRAPH_REF }}
23+ name : github
24+ schema : ./github.graphql
Original file line number Diff line number Diff line change 1+ name : Apollo Publish
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ environment : apollo
10+ steps :
11+ - uses : actions/checkout@v4
12+ - uses : apollographql-gh-actions/install-rover@v1
13+ - uses : apollographql-gh-actions/rover-subgraph-publish@v1
14+ with :
15+ apollo-key : ${{ secrets.APOLLO_KEY }}
16+ graph-ref : ${{ secrets.APOLLO_GRAPH_REF }}
17+ name : github
18+ schema : ./github.graphql
19+ no-url : true
You can’t perform that action at this time.
0 commit comments