summaryrefslogtreecommitdiffstats
path: root/models/fixtures/webhook.yml
blob: cab5c5aca0e809d286bf140e9d4a274a6dc8c37c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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