webhook-action/action.yml
2024-03-28 12:43:14 +10:00

30 lines
793 B
YAML

name: 'Webhook Action'
author: "Joel Male"
description: 'Send a webhook event to anywhere!'
branding:
icon: 'alert-octagon'
color: 'gray-dark'
inputs:
url:
description: 'The url to send the webhook event to'
required: true
headers:
description: 'Additional headers to send alongside the defaults'
required: false
body:
description: 'The data sent to the webhook'
required: false
insecure:
description: 'Enables calling to known self-signed or invalid SSL certificates'
required: false
github_event:
description: 'Include the event that triggered the action in the payload body'
required: false
outputs:
status:
description: 'The status of the webhook event'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'