mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-09-01 13:50:45 +08:00
v2.0.0 (#12)
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
name: 'Webhook'
|
||||
description: 'Send a webhook event to anywhere!'
|
||||
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
|
||||
outputs:
|
||||
status:
|
||||
description: 'The status of the webhook event'
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'dist/main.js'
|
||||
Reference in New Issue
Block a user