mirror of
https://github.com/adnanh/webhook.git
synced 2025-07-21 10:00:31 +00:00
Add per-hook HTTP method restrictions
This commit is contained in:
parent
66562fdb41
commit
3414f34025
6 changed files with 217 additions and 184 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue