Skip to content

Commit dec6230

Browse files
authored
chore: include service name in check command (#6704)
1 parent 7d2e7cc commit dec6230

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/graphql-schema-check.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ jobs:
2525
with:
2626
fetch-depth: 2
2727

28+
- name: setup environment
29+
uses: ./.github/actions/setup
30+
with:
31+
actor: graphql-schema-check
32+
2833
- name: check pull request label
2934
if: contains(github.event.pull_request.labels.*.name, 'non-breaking')
3035
run: echo "safeFlag=--forceSafe" >> $GITHUB_OUTPUT
@@ -35,4 +40,6 @@ jobs:
3540
HIVE_TOKEN: ${{ secrets.hiveToken }}
3641
run: |
3742
curl -sSL https://graphql-hive.com/install.sh | sh
38-
hive schema:check "packages/services/api/src/modules/*/module.graphql.ts" ${{steps.pr-label-check.outputs.safeFlag }} --github
43+
hive schema:check "schema.graphql" ${{steps.pr-label-check.outputs.safeFlag }} \
44+
--github \
45+
--service "graphql"

.github/workflows/graphql-schema-publish.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ jobs:
1313
with:
1414
fetch-depth: 2
1515

16+
- name: setup environment
17+
uses: ./.github/actions/setup
18+
with:
19+
actor: graphql-schema-publish
20+
1621
- name: schema publish
1722
env:
1823
HIVE_TOKEN: ${{ secrets.hiveToken }}
1924
run: |
2025
curl -sSL https://graphql-hive.com/install.sh | sh
21-
hive schema:publish "packages/services/api/src/modules/*/module.graphql.ts" --github
26+
hive schema:publish "schema.graphql" \
27+
--github \
28+
--service "graphql"

packages/services/api/src/modules/oidc-integrations/module.graphql.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default gql`
3232
): UpdateOIDCDefaultMemberRoleResult!
3333
}
3434
35-
type Subscription {
35+
extend type Subscription {
3636
"""
3737
Subscribe to logs from the OIDC provider integration.
3838
Helpful for debugging failing logins.

0 commit comments

Comments
 (0)