generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
action.yml
40 lines (40 loc) · 1.21 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "Watermelon HTTP client"
description: "Perform HTTP requests within your workflow. Supports GraphQL!"
author: "Camilo Garcia La Rotta"
inputs:
url:
description: Endpoint to query
default: "https://api.github.com"
method:
description: HTTP method
default: get
headers:
description: HTTP custom headers
data:
description: HTTP request payload
graphql:
description: GraphQL query or mutation to execute. If defined, the 'data' field is automatically populated with the this payload and the 'method' is set to POST
variables:
description: variables for a GraphQL mutation in JSON format
default: '{}'
operation_name:
description: name of the entrypoint GraphQL operation if multiple are defined in `graphql`
fail_fast:
description: wether to fail upon error HTML responses (e.g. 400, 500)
default: false
verbose:
description: wether to print info-level statements or not
default: false
outputs:
status:
description: The status of the HTTP request
headers:
description: The response HTTP headers
response:
description: The raw query response body
runs:
using: "node16"
main: "dist/index.js"
branding:
icon: 'aperture'
color: 'green'