mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-08-31 14:39:48 +08:00
feat: updates & github event support
This commit is contained in:
@@ -20,6 +20,7 @@ Example:
|
||||
url: ${{ secrets.WEBHOOK_URL }}
|
||||
headers: '{"repository": "joelwmale/webhook-action"}'
|
||||
body: '{"event": "deployment", "repository": "joelwmale/webhook-action"}'
|
||||
github_event: ${{ toJson(github.event) }}
|
||||
```
|
||||
|
||||
It is **highly** recommended to use the action is an explicit commit SHA-1:
|
||||
@@ -34,6 +35,7 @@ The action has support for the following input variables (arguments):
|
||||
* **`headers`** (**optional**): Any headers you want to be sent with the webhook
|
||||
* **`body`** (**optional**): The body of data send with the webhook
|
||||
* **`insecure`** (**optional**): Enables calling to known self-signed or invalid SSL certificates
|
||||
* **`github_event`** (**optional**): Enables forwarding the Github event to your webhook
|
||||
|
||||
You can find more information on how to use these input variables below.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user