0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-01 19:17:12 -05:00
forgejo-docs/docs/user/actions-contexts/pull-request/root/pull_request/github
2024-01-24 19:03:59 +00:00

389 lines
13 KiB
Text

{
"event": {
"action": "opened",
"commit_id": "",
"number": 2,
"pull_request": {
"allow_maintainer_edit": false,
"assignee": null,
"assignees": null,
"base": {
"label": "main",
"ref": "main",
"repo": {
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_rebase_update": true,
"allow_squash_merge": true,
"archived": false,
"archived_at": "1970-01-01T00:00:00Z",
"avatar_url": "",
"clone_url": "http://10.201.14.40:3000/root/example-pull-request.git",
"created_at": "2024-01-24T19:01:05Z",
"default_allow_maintainer_edit": false,
"default_branch": "main",
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"description": "",
"empty": false,
"fork": false,
"forks_count": 1,
"full_name": "root/example-pull-request",
"has_actions": true,
"has_issues": true,
"has_packages": true,
"has_projects": true,
"has_pull_requests": true,
"has_releases": true,
"has_wiki": true,
"html_url": "http://10.201.14.40:3000/root/example-pull-request",
"id": 8,
"ignore_whitespace_conflicts": false,
"internal": false,
"internal_tracker": {
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true,
"enable_time_tracker": true
},
"language": "",
"languages_url": "http://10.201.14.40:3000/api/v1/repos/root/example-pull-request/languages",
"link": "",
"mirror": false,
"mirror_interval": "",
"mirror_updated": "0001-01-01T00:00:00Z",
"name": "example-pull-request",
"object_format_name": "",
"open_issues_count": 0,
"open_pr_counter": 1,
"original_url": "",
"owner": {
"active": false,
"avatar_url": "http://10.201.14.40:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-01-24T18:57:32Z",
"description": "",
"email": "root@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "",
"id": 1,
"is_admin": false,
"language": "",
"last_login": "0001-01-01T00:00:00Z",
"location": "",
"login": "root",
"login_name": "",
"prohibit_login": false,
"restricted": false,
"starred_repos_count": 0,
"username": "root",
"visibility": "public",
"website": ""
},
"parent": null,
"permissions": {
"admin": false,
"pull": true,
"push": false
},
"private": false,
"release_counter": 0,
"repo_transfer": null,
"size": 29,
"ssh_url": "forgejo@10.201.14.40:root/example-pull-request.git",
"stars_count": 0,
"template": false,
"updated_at": "2024-01-24T19:01:06Z",
"url": "http://10.201.14.40:3000/api/v1/repos/root/example-pull-request",
"watchers_count": 1,
"website": ""
},
"repo_id": 8,
"sha": "b6594edef9af16a1aa170da6c788a314425b4834"
},
"body": "",
"closed_at": null,
"comments": 0,
"created_at": "2024-01-24T19:01:07Z",
"diff_url": "http://10.201.14.40:3000/root/example-pull-request/pulls/2.diff",
"due_date": null,
"head": {
"label": "other",
"ref": "other",
"repo": {
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_rebase_update": true,
"allow_squash_merge": true,
"archived": false,
"archived_at": "1970-01-01T00:00:00Z",
"avatar_url": "",
"clone_url": "http://10.201.14.40:3000/root/example-pull-request.git",
"created_at": "2024-01-24T19:01:05Z",
"default_allow_maintainer_edit": false,
"default_branch": "main",
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"description": "",
"empty": false,
"fork": false,
"forks_count": 1,
"full_name": "root/example-pull-request",
"has_actions": true,
"has_issues": true,
"has_packages": true,
"has_projects": true,
"has_pull_requests": true,
"has_releases": true,
"has_wiki": true,
"html_url": "http://10.201.14.40:3000/root/example-pull-request",
"id": 8,
"ignore_whitespace_conflicts": false,
"internal": false,
"internal_tracker": {
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true,
"enable_time_tracker": true
},
"language": "",
"languages_url": "http://10.201.14.40:3000/api/v1/repos/root/example-pull-request/languages",
"link": "",
"mirror": false,
"mirror_interval": "",
"mirror_updated": "0001-01-01T00:00:00Z",
"name": "example-pull-request",
"object_format_name": "",
"open_issues_count": 0,
"open_pr_counter": 1,
"original_url": "",
"owner": {
"active": false,
"avatar_url": "http://10.201.14.40:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-01-24T18:57:32Z",
"description": "",
"email": "root@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "",
"id": 1,
"is_admin": false,
"language": "",
"last_login": "0001-01-01T00:00:00Z",
"location": "",
"login": "root",
"login_name": "",
"prohibit_login": false,
"restricted": false,
"starred_repos_count": 0,
"username": "root",
"visibility": "public",
"website": ""
},
"parent": null,
"permissions": {
"admin": false,
"pull": true,
"push": false
},
"private": false,
"release_counter": 0,
"repo_transfer": null,
"size": 29,
"ssh_url": "forgejo@10.201.14.40:root/example-pull-request.git",
"stars_count": 0,
"template": false,
"updated_at": "2024-01-24T19:01:06Z",
"url": "http://10.201.14.40:3000/api/v1/repos/root/example-pull-request",
"watchers_count": 1,
"website": ""
},
"repo_id": 8,
"sha": "46804ead193bdf4eae7c5167f5a1125f47534b79"
},
"html_url": "http://10.201.14.40:3000/root/example-pull-request/pulls/2",
"id": 2,
"is_locked": false,
"labels": [],
"merge_base": "b6594edef9af16a1aa170da6c788a314425b4834",
"merge_commit_sha": null,
"mergeable": true,
"merged": false,
"merged_at": null,
"merged_by": null,
"milestone": null,
"number": 2,
"patch_url": "http://10.201.14.40:3000/root/example-pull-request/pulls/2.patch",
"pin_order": 0,
"requested_reviewers": null,
"state": "open",
"title": "PR same repo",
"updated_at": "2024-01-24T19:01:07Z",
"url": "http://10.201.14.40:3000/root/example-pull-request/pulls/2",
"user": {
"active": false,
"avatar_url": "http://10.201.14.40:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-01-24T18:57:32Z",
"description": "",
"email": "root@noreply.10.201.14.40",
"followers_count": 0,
"following_count": 0,
"full_name": "",
"id": 1,
"is_admin": false,
"language": "",
"last_login": "0001-01-01T00:00:00Z",
"location": "",
"login": "root",
"login_name": "",
"prohibit_login": false,
"restricted": false,
"starred_repos_count": 0,
"username": "root",
"visibility": "public",
"website": ""
}
},
"repository": {
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_rebase_update": true,
"allow_squash_merge": true,
"archived": false,
"archived_at": "1970-01-01T00:00:00Z",
"avatar_url": "",
"clone_url": "http://10.201.14.40:3000/root/example-pull-request.git",
"created_at": "2024-01-24T19:01:05Z",
"default_allow_maintainer_edit": false,
"default_branch": "main",
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"description": "",
"empty": false,
"fork": false,
"forks_count": 1,
"full_name": "root/example-pull-request",
"has_actions": true,
"has_issues": true,
"has_packages": true,
"has_projects": true,
"has_pull_requests": true,
"has_releases": true,
"has_wiki": true,
"html_url": "http://10.201.14.40:3000/root/example-pull-request",
"id": 8,
"ignore_whitespace_conflicts": false,
"internal": false,
"internal_tracker": {
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true,
"enable_time_tracker": true
},
"language": "",
"languages_url": "http://10.201.14.40:3000/api/v1/repos/root/example-pull-request/languages",
"link": "",
"mirror": false,
"mirror_interval": "",
"mirror_updated": "0001-01-01T00:00:00Z",
"name": "example-pull-request",
"object_format_name": "",
"open_issues_count": 0,
"open_pr_counter": 2,
"original_url": "",
"owner": {
"active": false,
"avatar_url": "http://10.201.14.40:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-01-24T18:57:32Z",
"description": "",
"email": "root@example.com",
"followers_count": 0,
"following_count": 0,
"full_name": "",
"id": 1,
"is_admin": false,
"language": "",
"last_login": "0001-01-01T00:00:00Z",
"location": "",
"login": "root",
"login_name": "",
"prohibit_login": false,
"restricted": false,
"starred_repos_count": 0,
"username": "root",
"visibility": "public",
"website": ""
},
"parent": null,
"permissions": {
"admin": true,
"pull": true,
"push": true
},
"private": false,
"release_counter": 0,
"repo_transfer": null,
"size": 29,
"ssh_url": "forgejo@10.201.14.40:root/example-pull-request.git",
"stars_count": 0,
"template": false,
"updated_at": "2024-01-24T19:01:06Z",
"url": "http://10.201.14.40:3000/api/v1/repos/root/example-pull-request",
"watchers_count": 1,
"website": ""
},
"requested_reviewer": null,
"review": null,
"sender": {
"active": false,
"avatar_url": "http://10.201.14.40:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-01-24T18:57:32Z",
"description": "",
"email": "root@noreply.10.201.14.40",
"followers_count": 0,
"following_count": 0,
"full_name": "",
"id": 1,
"is_admin": false,
"language": "",
"last_login": "0001-01-01T00:00:00Z",
"location": "",
"login": "root",
"login_name": "",
"prohibit_login": false,
"restricted": false,
"starred_repos_count": 0,
"username": "root",
"visibility": "public",
"website": ""
}
},
"event_path": "/var/run/act/workflow/event.json",
"workflow": "",
"run_id": "11",
"run_number": "3",
"actor": "root",
"repository": "root/example-pull-request",
"event_name": "pull_request",
"sha": "46804ead193bdf4eae7c5167f5a1125f47534b79",
"ref": "refs/pull/2/head",
"ref_name": "2",
"ref_type": "",
"head_ref": "other",
"base_ref": "main",
"token": "c815a841b175b13cd0521077cdeb9b8991948c4b",
"workspace": "/workspace/root/example-pull-request",
"action": "6",
"action_path": "",
"action_ref": "",
"action_repository": "",
"job": "test",
"job_name": "",
"repository_owner": "root",
"retention_days": "",
"runner_perflog": "/dev/null",
"runner_tracking_id": "",
"server_url": "http://10.201.14.40:3000",
"api_url": "http://10.201.14.40:3000/api/v1",
"graphql_url": ""
}