mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-29 16:52:28 +00:00
make http return code for mismatched rules configurable
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
This commit is contained in:
parent
8226d5e50f
commit
ddb1f2441a
4 changed files with 20 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
"execute-command": "{{ .Hookecho }}",
|
||||
"command-working-directory": "/",
|
||||
"include-command-output-in-response": true,
|
||||
"trigger-rule-mismatch-code": 400,
|
||||
"pass-environment-to-command":
|
||||
[
|
||||
{
|
||||
|
@ -59,6 +60,7 @@
|
|||
"command-working-directory": "/",
|
||||
"include-command-output-in-response": false,
|
||||
"response-message": "success",
|
||||
"trigger-rule-mismatch-code": 999,
|
||||
"parse-parameters-as-json": [
|
||||
{
|
||||
"source": "payload",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue