0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00
forgejo/models/fixtures/webhook.yml

37 lines
1 KiB
YAML
Raw Normal View History

-
id: 1
repo_id: 1
2024-03-19 05:59:48 -05:00
url: http://www.example.com/url1
http_method: POST
2024-03-20 09:44:01 -05:00
type: forgejo
content_type: 1 # json
events: '{"push_only":true,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":false}}'
2024-03-19 05:59:48 -05:00
is_active: false # disable to prevent sending hook task during unrelated tests
-
id: 2
repo_id: 1
2024-03-19 05:59:48 -05:00
url: http://www.example.com/url2
http_method: POST
content_type: 1 # json
events: '{"push_only":false,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":true}}'
is_active: false
-
id: 3
owner_id: 3
repo_id: 3
2024-03-19 05:59:48 -05:00
url: http://www.example.com/url3
http_method: POST
content_type: 1 # json
events: '{"push_only":false,"send_everything":false,"choose_events":false,"events":{"create":false,"push":true,"pull_request":true}}'
2024-03-19 05:59:48 -05:00
is_active: false
-
id: 4
repo_id: 2
2024-03-19 05:59:48 -05:00
url: http://www.example.com/url4
http_method: POST
content_type: 1 # json
events: '{"push_only":true,"branch_filter":"{master,feature*}"}'
2024-03-19 05:59:48 -05:00
is_active: false