From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- models/fixtures/webhook.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 models/fixtures/webhook.yml (limited to 'models/fixtures/webhook.yml') diff --git a/models/fixtures/webhook.yml b/models/fixtures/webhook.yml new file mode 100644 index 0000000..cab5c5a --- /dev/null +++ b/models/fixtures/webhook.yml @@ -0,0 +1,37 @@ +- + id: 1 + 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 + +- + id: 2 + repo_id: 1 + 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 + 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}}' + is_active: false +- + id: 4 + repo_id: 2 + type: gitea + url: http://www.example.com/url4 + http_method: POST + content_type: 1 # json + events: '{"send_everything":true,"branch_filter":"{master,feature*}"}' + is_active: false -- cgit v1.2.3