webhook/action.yml
Enes de7a2228ba
bump action from Node12 to Node16
The GitHub Actions workflow gives the following annotation while running the action:

> Node.js 12 actions are deprecated. For more information see: github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12.

Signed-off-by: Enes <ahmedenesturan@gmail.com>
2022-11-08 04:19:16 +03:00

25 lines
649 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
outputs:
status:
description: 'The status of the webhook event'
runs:
using: 'node16'
main: 'dist/main.js'