.
This commit is contained in:
parent
be64b88655
commit
7cddc37fda
@ -1200,3 +1200,520 @@ const issueAssignJSON = `{
|
||||
"commit_id": ""
|
||||
}`
|
||||
|
||||
const requestedReviewJSON = `{
|
||||
"action": "review_requested",
|
||||
"number": 2,
|
||||
"pull_request": {
|
||||
"id": 547,
|
||||
"url": "https://src.opensuse.org/importtest/_ObsPrj/pulls/2",
|
||||
"number": 2,
|
||||
"user": {
|
||||
"id": 129,
|
||||
"login": "adamm",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "Adam Majer",
|
||||
"email": "adamm@noreply@src.opensuse.org",
|
||||
"avatar_url": "https://src.opensuse.org/avatar/babb6ae054a709c238a4e9b0f2b53d53",
|
||||
"html_url": "https://src.opensuse.org/adamm",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2023-07-21T16:43:48+02:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "adamm"
|
||||
},
|
||||
"title": "Update test",
|
||||
"body": "Edit",
|
||||
"labels": [],
|
||||
"milestone": null,
|
||||
"assignee": null,
|
||||
"assignees": null,
|
||||
"requested_reviewers": [
|
||||
{
|
||||
"id": 1008,
|
||||
"login": "autogits_obs_staging_bot",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "Autogits StagingBot",
|
||||
"email": "autogits_obs_staging_bot@noreply@src.opensuse.org",
|
||||
"avatar_url": "https://src.opensuse.org/avatar/b8f40091fbd0a1f1b9e54f539dcdc783",
|
||||
"html_url": "https://src.opensuse.org/autogits_obs_staging_bot",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2024-07-06T14:31:34+02:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "autogits_obs_staging_bot"
|
||||
}
|
||||
],
|
||||
"state": "open",
|
||||
"draft": false,
|
||||
"is_locked": false,
|
||||
"comments": 0,
|
||||
"review_comments": 0,
|
||||
"additions": 1,
|
||||
"deletions": 1,
|
||||
"changed_files": 1,
|
||||
"html_url": "https://src.opensuse.org/importtest/_ObsPrj/pulls/2",
|
||||
"diff_url": "https://src.opensuse.org/importtest/_ObsPrj/pulls/2.diff",
|
||||
"patch_url": "https://src.opensuse.org/importtest/_ObsPrj/pulls/2.patch",
|
||||
"mergeable": true,
|
||||
"merged": false,
|
||||
"merged_at": null,
|
||||
"merge_commit_sha": null,
|
||||
"merged_by": null,
|
||||
"allow_maintainer_edit": false,
|
||||
"base": {
|
||||
"label": "main",
|
||||
"ref": "main",
|
||||
"sha": "c775ee91073b23bd4c2f9fd44d73976dae31b8ee3ab08eb2924fefff2bbd53ea",
|
||||
"repo_id": 90991,
|
||||
"repo": {
|
||||
"id": 90991,
|
||||
"owner": {
|
||||
"id": 939,
|
||||
"login": "importtest",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "",
|
||||
"email": "",
|
||||
"avatar_url": "https://src.opensuse.org/avatars/10dc780b6dc535d772efc579e47b5acd",
|
||||
"html_url": "https://src.opensuse.org/importtest",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2024-03-07T13:35:42+01:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "importtest"
|
||||
},
|
||||
"name": "_ObsPrj",
|
||||
"full_name": "importtest/_ObsPrj",
|
||||
"description": "",
|
||||
"empty": false,
|
||||
"private": false,
|
||||
"fork": false,
|
||||
"template": false,
|
||||
"parent": null,
|
||||
"mirror": false,
|
||||
"size": 30,
|
||||
"language": "",
|
||||
"languages_url": "https://src.opensuse.org/api/v1/repos/importtest/_ObsPrj/languages",
|
||||
"html_url": "https://src.opensuse.org/importtest/_ObsPrj",
|
||||
"url": "https://src.opensuse.org/api/v1/repos/importtest/_ObsPrj",
|
||||
"link": "",
|
||||
"ssh_url": "gitea@src.opensuse.org:importtest/_ObsPrj.git",
|
||||
"clone_url": "https://src.opensuse.org/importtest/_ObsPrj.git",
|
||||
"original_url": "",
|
||||
"website": "",
|
||||
"stars_count": 0,
|
||||
"forks_count": 1,
|
||||
"watchers_count": 1,
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"release_counter": 0,
|
||||
"default_branch": "main",
|
||||
"archived": false,
|
||||
"created_at": "2024-08-22T18:01:09+02:00",
|
||||
"updated_at": "2024-08-24T18:12:37+02:00",
|
||||
"archived_at": "1970-01-01T01:00:00+01:00",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": true
|
||||
},
|
||||
"has_issues": true,
|
||||
"internal_tracker": {
|
||||
"enable_time_tracker": false,
|
||||
"allow_only_contributors_to_track_time": true,
|
||||
"enable_issue_dependencies": true
|
||||
},
|
||||
"has_wiki": true,
|
||||
"has_pull_requests": true,
|
||||
"has_projects": true,
|
||||
"projects_mode": "all",
|
||||
"has_releases": true,
|
||||
"has_packages": true,
|
||||
"has_actions": true,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"allow_merge_commits": true,
|
||||
"allow_rebase": true,
|
||||
"allow_rebase_explicit": true,
|
||||
"allow_squash_merge": true,
|
||||
"allow_fast_forward_only_merge": true,
|
||||
"allow_rebase_update": true,
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"default_allow_maintainer_edit": false,
|
||||
"avatar_url": "https://src.opensuse.org/",
|
||||
"internal": false,
|
||||
"mirror_interval": "",
|
||||
"object_format_name": "sha256",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"repo_transfer": null
|
||||
}
|
||||
},
|
||||
"head": {
|
||||
"label": "main",
|
||||
"ref": "main",
|
||||
"sha": "9eefdde2579fb569db3c91210803727437ec87fef9b3a7b890fa6b13b9b18729",
|
||||
"repo_id": 91024,
|
||||
"repo": {
|
||||
"id": 91024,
|
||||
"owner": {
|
||||
"id": 129,
|
||||
"login": "adamm",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "Adam Majer",
|
||||
"email": "adamm@noreply@src.opensuse.org",
|
||||
"avatar_url": "https://src.opensuse.org/avatar/babb6ae054a709c238a4e9b0f2b53d53",
|
||||
"html_url": "https://src.opensuse.org/adamm",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2023-07-21T16:43:48+02:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "adamm"
|
||||
},
|
||||
"name": "_ObsPrj",
|
||||
"full_name": "adamm/_ObsPrj",
|
||||
"description": "",
|
||||
"empty": false,
|
||||
"private": false,
|
||||
"fork": true,
|
||||
"template": false,
|
||||
"parent": {
|
||||
"id": 90991,
|
||||
"owner": {
|
||||
"id": 939,
|
||||
"login": "importtest",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "",
|
||||
"email": "",
|
||||
"avatar_url": "https://src.opensuse.org/avatars/10dc780b6dc535d772efc579e47b5acd",
|
||||
"html_url": "https://src.opensuse.org/importtest",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2024-03-07T13:35:42+01:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "importtest"
|
||||
},
|
||||
"name": "_ObsPrj",
|
||||
"full_name": "importtest/_ObsPrj",
|
||||
"description": "",
|
||||
"empty": false,
|
||||
"private": false,
|
||||
"fork": false,
|
||||
"template": false,
|
||||
"parent": null,
|
||||
"mirror": false,
|
||||
"size": 30,
|
||||
"language": "",
|
||||
"languages_url": "https://src.opensuse.org/api/v1/repos/importtest/_ObsPrj/languages",
|
||||
"html_url": "https://src.opensuse.org/importtest/_ObsPrj",
|
||||
"url": "https://src.opensuse.org/api/v1/repos/importtest/_ObsPrj",
|
||||
"link": "",
|
||||
"ssh_url": "gitea@src.opensuse.org:importtest/_ObsPrj.git",
|
||||
"clone_url": "https://src.opensuse.org/importtest/_ObsPrj.git",
|
||||
"original_url": "",
|
||||
"website": "",
|
||||
"stars_count": 0,
|
||||
"forks_count": 1,
|
||||
"watchers_count": 1,
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"release_counter": 0,
|
||||
"default_branch": "main",
|
||||
"archived": false,
|
||||
"created_at": "2024-08-22T18:01:09+02:00",
|
||||
"updated_at": "2024-08-24T18:12:37+02:00",
|
||||
"archived_at": "1970-01-01T01:00:00+01:00",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": true
|
||||
},
|
||||
"has_issues": true,
|
||||
"internal_tracker": {
|
||||
"enable_time_tracker": false,
|
||||
"allow_only_contributors_to_track_time": true,
|
||||
"enable_issue_dependencies": true
|
||||
},
|
||||
"has_wiki": true,
|
||||
"has_pull_requests": true,
|
||||
"has_projects": true,
|
||||
"projects_mode": "all",
|
||||
"has_releases": true,
|
||||
"has_packages": true,
|
||||
"has_actions": true,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"allow_merge_commits": true,
|
||||
"allow_rebase": true,
|
||||
"allow_rebase_explicit": true,
|
||||
"allow_squash_merge": true,
|
||||
"allow_fast_forward_only_merge": true,
|
||||
"allow_rebase_update": true,
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"default_allow_maintainer_edit": false,
|
||||
"avatar_url": "https://src.opensuse.org/",
|
||||
"internal": false,
|
||||
"mirror_interval": "",
|
||||
"object_format_name": "sha256",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"repo_transfer": null
|
||||
},
|
||||
"mirror": false,
|
||||
"size": 30,
|
||||
"language": "",
|
||||
"languages_url": "https://src.opensuse.org/api/v1/repos/adamm/_ObsPrj/languages",
|
||||
"html_url": "https://src.opensuse.org/adamm/_ObsPrj",
|
||||
"url": "https://src.opensuse.org/api/v1/repos/adamm/_ObsPrj",
|
||||
"link": "",
|
||||
"ssh_url": "gitea@src.opensuse.org:adamm/_ObsPrj.git",
|
||||
"clone_url": "https://src.opensuse.org/adamm/_ObsPrj.git",
|
||||
"original_url": "",
|
||||
"website": "",
|
||||
"stars_count": 0,
|
||||
"forks_count": 0,
|
||||
"watchers_count": 1,
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 0,
|
||||
"release_counter": 0,
|
||||
"default_branch": "main",
|
||||
"archived": false,
|
||||
"created_at": "2024-08-25T22:40:43+02:00",
|
||||
"updated_at": "2024-08-25T22:41:00+02:00",
|
||||
"archived_at": "1970-01-01T01:00:00+01:00",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": true
|
||||
},
|
||||
"has_issues": false,
|
||||
"has_wiki": false,
|
||||
"has_pull_requests": true,
|
||||
"has_projects": false,
|
||||
"projects_mode": "all",
|
||||
"has_releases": false,
|
||||
"has_packages": false,
|
||||
"has_actions": false,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"allow_merge_commits": true,
|
||||
"allow_rebase": true,
|
||||
"allow_rebase_explicit": true,
|
||||
"allow_squash_merge": true,
|
||||
"allow_fast_forward_only_merge": true,
|
||||
"allow_rebase_update": true,
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"default_allow_maintainer_edit": false,
|
||||
"avatar_url": "https://src.opensuse.org/",
|
||||
"internal": false,
|
||||
"mirror_interval": "",
|
||||
"object_format_name": "sha256",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"repo_transfer": null
|
||||
}
|
||||
},
|
||||
"merge_base": "c775ee91073b23bd4c2f9fd44d73976dae31b8ee3ab08eb2924fefff2bbd53ea",
|
||||
"due_date": null,
|
||||
"created_at": "2024-08-25T22:41:42+02:00",
|
||||
"updated_at": "2024-08-26T13:00:18+02:00",
|
||||
"closed_at": null,
|
||||
"pin_order": 0
|
||||
},
|
||||
"requested_reviewer": {
|
||||
"id": 1008,
|
||||
"login": "autogits_obs_staging_bot",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "Autogits StagingBot",
|
||||
"email": "autogits_obs_staging_bot@noreply@src.opensuse.org",
|
||||
"avatar_url": "https://src.opensuse.org/avatar/b8f40091fbd0a1f1b9e54f539dcdc783",
|
||||
"html_url": "https://src.opensuse.org/autogits_obs_staging_bot",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2024-07-06T14:31:34+02:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "autogits_obs_staging_bot"
|
||||
},
|
||||
"repository": {
|
||||
"id": 90991,
|
||||
"owner": {
|
||||
"id": 939,
|
||||
"login": "importtest",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "",
|
||||
"email": "",
|
||||
"avatar_url": "https://src.opensuse.org/avatars/10dc780b6dc535d772efc579e47b5acd",
|
||||
"html_url": "https://src.opensuse.org/importtest",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2024-03-07T13:35:42+01:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "importtest"
|
||||
},
|
||||
"name": "_ObsPrj",
|
||||
"full_name": "importtest/_ObsPrj",
|
||||
"description": "",
|
||||
"empty": false,
|
||||
"private": false,
|
||||
"fork": false,
|
||||
"template": false,
|
||||
"parent": null,
|
||||
"mirror": false,
|
||||
"size": 30,
|
||||
"language": "",
|
||||
"languages_url": "https://src.opensuse.org/api/v1/repos/importtest/_ObsPrj/languages",
|
||||
"html_url": "https://src.opensuse.org/importtest/_ObsPrj",
|
||||
"url": "https://src.opensuse.org/api/v1/repos/importtest/_ObsPrj",
|
||||
"link": "",
|
||||
"ssh_url": "gitea@src.opensuse.org:importtest/_ObsPrj.git",
|
||||
"clone_url": "https://src.opensuse.org/importtest/_ObsPrj.git",
|
||||
"original_url": "",
|
||||
"website": "",
|
||||
"stars_count": 0,
|
||||
"forks_count": 1,
|
||||
"watchers_count": 1,
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"release_counter": 0,
|
||||
"default_branch": "main",
|
||||
"archived": false,
|
||||
"created_at": "2024-08-22T18:01:09+02:00",
|
||||
"updated_at": "2024-08-24T18:12:37+02:00",
|
||||
"archived_at": "1970-01-01T01:00:00+01:00",
|
||||
"permissions": {
|
||||
"admin": true,
|
||||
"push": true,
|
||||
"pull": true
|
||||
},
|
||||
"has_issues": true,
|
||||
"internal_tracker": {
|
||||
"enable_time_tracker": false,
|
||||
"allow_only_contributors_to_track_time": true,
|
||||
"enable_issue_dependencies": true
|
||||
},
|
||||
"has_wiki": true,
|
||||
"has_pull_requests": true,
|
||||
"has_projects": true,
|
||||
"projects_mode": "all",
|
||||
"has_releases": true,
|
||||
"has_packages": true,
|
||||
"has_actions": true,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"allow_merge_commits": true,
|
||||
"allow_rebase": true,
|
||||
"allow_rebase_explicit": true,
|
||||
"allow_squash_merge": true,
|
||||
"allow_fast_forward_only_merge": true,
|
||||
"allow_rebase_update": true,
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"default_allow_maintainer_edit": false,
|
||||
"avatar_url": "https://src.opensuse.org/",
|
||||
"internal": false,
|
||||
"mirror_interval": "",
|
||||
"object_format_name": "sha256",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"repo_transfer": null
|
||||
},
|
||||
"sender": {
|
||||
"id": 129,
|
||||
"login": "adamm",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "Adam Majer",
|
||||
"email": "adamm@noreply@src.opensuse.org",
|
||||
"avatar_url": "https://src.opensuse.org/avatar/babb6ae054a709c238a4e9b0f2b53d53",
|
||||
"html_url": "https://src.opensuse.org/adamm",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2023-07-21T16:43:48+02:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": "adamm"
|
||||
},
|
||||
"commit_id": "",
|
||||
"review": null
|
||||
}`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user