zulip/zerver/webhooks/gitea/fixtures/pull_request__opened.json

240 lines
6.9 KiB
JSON

{
"secret": "123",
"action": "opened",
"number": 4,
"pull_request": {
"id": 1905,
"url": "https://try.gitea.io/kostekIV/test/pulls/4",
"number": 4,
"user": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"title": "New pr",
"body": "Body",
"labels": [],
"milestone": null,
"assignee": null,
"assignees": null,
"state": "open",
"comments": 0,
"html_url": "https://try.gitea.io/kostekIV/test/pulls/4",
"diff_url": "https://try.gitea.io/kostekIV/test/pulls/4.diff",
"patch_url": "https://try.gitea.io/kostekIV/test/pulls/4.patch",
"mergeable": true,
"merged": false,
"merged_at": null,
"merge_commit_sha": null,
"merged_by": null,
"base": {
"label": "master",
"ref": "master",
"sha": "df5c4968af6569095b40fa8f756953072d03d39f",
"repo_id": 14576,
"repo": {
"id": 14576,
"owner": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"name": "test",
"full_name": "kostekIV/test",
"description": "",
"empty": false,
"private": false,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 18,
"html_url": "https://try.gitea.io/kostekIV/test",
"ssh_url": "git@try.gitea.io:kostekIV/test.git",
"clone_url": "https://try.gitea.io/kostekIV/test.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 0,
"default_branch": "master",
"archived": false,
"created_at": "2019-11-15T19:19:34Z",
"updated_at": "2019-11-18T00:11:14Z",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"avatar_url": ""
}
},
"head": {
"label": "test-branch",
"ref": "test-branch",
"sha": "01efc1fe09d4fba25397a386a6c623fd12eadd79",
"repo_id": 14576,
"repo": {
"id": 14576,
"owner": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"name": "test",
"full_name": "kostekIV/test",
"description": "",
"empty": false,
"private": false,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 18,
"html_url": "https://try.gitea.io/kostekIV/test",
"ssh_url": "git@try.gitea.io:kostekIV/test.git",
"clone_url": "https://try.gitea.io/kostekIV/test.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 0,
"default_branch": "master",
"archived": false,
"created_at": "2019-11-15T19:19:34Z",
"updated_at": "2019-11-18T00:11:14Z",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"avatar_url": ""
}
},
"merge_base": "50a822293e4dda7fdc1ecb6e61f7da62345b7fce",
"due_date": null,
"created_at": "2019-11-18T00:16:29Z",
"updated_at": "2019-11-18T00:16:29Z",
"closed_at": null
},
"repository": {
"id": 14576,
"owner": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"name": "test",
"full_name": "kostekIV/test",
"description": "",
"empty": false,
"private": false,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 18,
"html_url": "https://try.gitea.io/kostekIV/test",
"ssh_url": "git@try.gitea.io:kostekIV/test.git",
"clone_url": "https://try.gitea.io/kostekIV/test.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 0,
"default_branch": "master",
"archived": false,
"created_at": "2019-11-15T19:19:34Z",
"updated_at": "2019-11-18T00:11:14Z",
"permissions": {
"admin": true,
"push": true,
"pull": true
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"avatar_url": ""
},
"sender": {
"id": 21818,
"login": "kostekIV",
"full_name": "",
"email": "koscis.j@gmail.com",
"avatar_url": "https://try.gitea.io/user/avatar/kostekIV/-1",
"language": "",
"is_admin": false,
"last_login": "2019-11-17T23:23:04Z",
"created": "2019-11-15T19:17:02Z",
"username": "kostekIV"
},
"review": null
}