forked from distributhor/workflow-webhook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (31 loc) · 1.3 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
name: 'Workflow Webhook Action'
description: 'A Github workflow action to call a webhook with payload data from the event. Support for JSON or URL encoded endpoints.'
inputs:
webhook_url:
description: 'The HTTP URI of the webhook endpoint to invoke'
required: true
webhook_secret:
description: 'The secret with which a signature hash is generated'
required: true
webhook_auth:
description: 'Credentials to be used for BASIC authentication (optional)'
webhook_type:
description: 'json | form-urlencoded | json-extended'
verbose:
description: 'Optional, set to true to enable verbose output. Warning: this might lead to domain and IP leaking, as well as other security issues as the logs are public.'
silent:
description: 'Optional, set to true to disable output and therefore IP leaking'
timeout:
description: 'Optional, set a maximum time, in seconds, by which to establish a connection to the server'
verify_ssl:
description: 'Optional, set to false to disable verification of SSL certificates'
default: true
data:
description: 'Optional additional data to include in the payload'
runs:
using: 'docker'
# image: 'Dockerfile'
image: 'docker://ghcr.io/distributhor/workflow-webhook-container:v2.0.4'
branding:
icon: 'terminal'
color: 'gray-dark'