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

251 lines
7.3 KiB
JSON
Raw Normal View History

{
"secret": "123",
"action": "closed",
"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": "closed",
"comments": 1,
"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": true,
"merged_at": "2019-11-18T00:22:27Z",
"merge_commit_sha": "1d40c3be7919f066f9158eaaaecaf696b3e22886",
"merged_by": {
"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"
},
"base": {
"label": "master",
"ref": "master",
"sha": "1d40c3be7919f066f9158eaaaecaf696b3e22886",
"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:22:27Z",
"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
}