distributhor/Workflow Webhook Action
A Github workflow action to call a webhook with payload data from the event. Support for JSON or URL encoded endpoints.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| webhook_url | The HTTP URI of the webhook endpoint to invoke | yes | — |
| webhook_secret | The secret with which a signature hash is generated. If omitted, the URL itself will be used as the value with which to generate the hash. | — | — |
| webhook_auth | Optional. The BASIC auth credentials (a "username:password" string) OR a bearer access token OR a custom header to be used for authentication | — | — |
| webhook_auth_type | Optional. What type of authentication to use for invoking the webhook URL. Valid values are "basic", "bearer", "header". Defaults to "basic" if not specified. | — | basic |
| webhook_type | json | form-urlencoded | json-extended | — | — |
| verbose | Optional. Set to true to enable verbose output. Warning: this might lead to domain and IP leaking, as well as other security issues as the logs are public. | — | — |
| silent | Optional. Set to true to disable output and therefore IP leaking. | — | — |
| timeout | Optional. Set a maximum time, in seconds, by which to establish a connection to the server. | — | — |
| max_time | Optional. Set a maximum time, in seconds, the request to the server can take, before being cancelled. | — | — |
| curl_opts | Optional (and experimental). Pass arbitrary options to the curl request. | — | — |
| verify_ssl | Optional. Set to false to disable verification of SSL certificates. | — | true |
| event_name | Optional. Specify a custom event name sent to the webhook endpoint, if not defined it defaults to GITHUB_EVENT_NAME. | — | — |
| data | Optional. Specify additional data to include in the payload. | — | — |
Outputs
| name | description |
|---|---|
| response-body | The response body of the webook response |