Merge pull request '[REFACTOR] webhook.Handler interface' (#2758) from oliverpool/forgejo:webhook_2_interface into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2758 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
commit
e41e18f87e
35 changed files with 378 additions and 210 deletions
|
@ -3,6 +3,7 @@
|
|||
repo_id: 1
|
||||
url: http://www.example.com/url1
|
||||
http_method: POST
|
||||
type: forgejo
|
||||
content_type: 1 # json
|
||||
events: '{"push_only":true,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":false}}'
|
||||
is_active: false # disable to prevent sending hook task during unrelated tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue