mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-27 01:29:16 +08:00
make http return code for mismatched rules configurable
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user