Skip to content

Commit

Permalink
feat: updates & github event support
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwmale committed Mar 28, 2024
1 parent 8561675 commit 3cee2ba
Show file tree
Hide file tree
Showing 1,640 changed files with 101,493 additions and 153,814 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ outputs:
status:
description: 'The status of the webhook event'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 3cee2ba

Please sign in to comment.