You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,18 @@ branding:
5
5
icon: activity
6
6
color: green
7
7
inputs:
8
-
grafbase_access_token:
8
+
grafbase-access-token:
9
9
description: A Grafbase API access token. It can be created from the Grafbase dashboard.
10
10
required: true
11
-
project_ref:
11
+
project-ref:
12
12
description: "The account, project and (optional) branch of the schema to check against, in the format expected by the grafbase CLI. Example: tomhoule/test-project@main."
13
13
required: true
14
-
schema_path:
14
+
schema-path:
15
15
description: The file path of the schema to check, as GraphQL SDL.
16
16
required: true
17
-
subgraph_name:
17
+
subgraph-name:
18
18
description: The name of the subgraph to check. Only required in federated projects.
19
-
slack_incoming_webhook_url:
19
+
slack-incoming-webhook-url:
20
20
description: An optional Slack webhook url to post errors to
21
21
22
22
@@ -26,12 +26,12 @@ runs:
26
26
- id: validate-args
27
27
shell: bash
28
28
env:
29
-
SCHEMA_PATH: "${{ inputs.schema_path }}"
29
+
SCHEMA_PATH: "${{ inputs.schema-path }}"
30
30
run: |
31
31
: Handle the inputs.
32
32
33
33
if [ -z "$SCHEMA_PATH" ]; then
34
-
echo "The schema_path input is missing."
34
+
echo "The schema-path input is missing."
35
35
exit 1
36
36
fi
37
37
@@ -40,13 +40,13 @@ runs:
40
40
exit 1
41
41
fi
42
42
43
-
if [ -z "${{ inputs.grafbase_access_token }}" ]; then
44
-
echo "The grafbase_access_token input is missing."
43
+
if [ -z "${{ inputs.grafbase-access-token }}" ]; then
44
+
echo "The grafbase-access-token input is missing."
0 commit comments