mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:00:45 +08:00
Add per-hook HTTP method restrictions
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"id": "github",
|
||||
"execute-command": "{{ .Hookecho }}",
|
||||
"command-working-directory": "/",
|
||||
"http-methods": ["POST"],
|
||||
"include-command-output-in-response": true,
|
||||
"trigger-rule-mismatch-http-response-code": 400,
|
||||
"pass-environment-to-command":
|
||||
|
||||
Reference in New Issue
Block a user