0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-12-28 23:15:47 -05:00
forgejo-docs/docs/user/actions-contexts/pull-request/root/pull_request/github
2024-03-20 14:51:43 +00:00

395 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_fast_forward_only_merge": true,
"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.201:3000/root/example-pull-request.git",
"created_at": "2024-03-20T14:49:22Z",
"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.201:3000/root/example-pull-request",
"id": 14,
"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.201: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.201:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-03-20T14:45:23Z",
"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.201:root/example-pull-request.git",
"stars_count": 0,
"template": false,
"updated_at": "2024-03-20T14:49:23Z",
"url": "http://10.201.14.201:3000/api/v1/repos/root/example-pull-request",
"watchers_count": 1,
"website": "",
"wiki_branch": "main"
},
"repo_id": 14,
"sha": "69b4e387ae2f39cddace8eb1091f7798b79adf92"
},
"body": "",
"closed_at": null,
"comments": 0,
"created_at": "2024-03-20T14:49:23Z",
"diff_url": "http://10.201.14.201:3000/root/example-pull-request/pulls/2.diff",
"due_date": null,
"head": {
"label": "other",
"ref": "other",
"repo": {
"allow_fast_forward_only_merge": true,
"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.201:3000/root/example-pull-request.git",
"created_at": "2024-03-20T14:49:22Z",
"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.201:3000/root/example-pull-request",
"id": 14,
"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.201: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.201:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-03-20T14:45:23Z",
"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.201:root/example-pull-request.git",
"stars_count": 0,
"template": false,
"updated_at": "2024-03-20T14:49:23Z",
"url": "http://10.201.14.201:3000/api/v1/repos/root/example-pull-request",
"watchers_count": 1,
"website": "",
"wiki_branch": "main"
},
"repo_id": 14,
"sha": "46f117e9893723b589812ffc3627b5106b0db81b"
},
"html_url": "http://10.201.14.201:3000/root/example-pull-request/pulls/2",
"id": 2,
"is_locked": false,
"labels": [],
"merge_base": "69b4e387ae2f39cddace8eb1091f7798b79adf92",
"merge_commit_sha": null,
"mergeable": true,
"merged": false,
"merged_at": null,
"merged_by": null,
"milestone": null,
"number": 2,
"patch_url": "http://10.201.14.201:3000/root/example-pull-request/pulls/2.patch",
"pin_order": 0,
"requested_reviewers": null,
"state": "open",
"title": "PR same repo",
"updated_at": "2024-03-20T14:49:23Z",
"url": "http://10.201.14.201:3000/root/example-pull-request/pulls/2",
"user": {
"active": false,
"avatar_url": "http://10.201.14.201:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-03-20T14:45:23Z",
"description": "",
"email": "root@noreply.10.201.14.201",
"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_fast_forward_only_merge": true,
"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.201:3000/root/example-pull-request.git",
"created_at": "2024-03-20T14:49:22Z",
"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.201:3000/root/example-pull-request",
"id": 14,
"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.201: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.201:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-03-20T14:45:23Z",
"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.201:root/example-pull-request.git",
"stars_count": 0,
"template": false,
"updated_at": "2024-03-20T14:49:23Z",
"url": "http://10.201.14.201:3000/api/v1/repos/root/example-pull-request",
"watchers_count": 1,
"website": "",
"wiki_branch": "main"
},
"requested_reviewer": null,
"review": null,
"sender": {
"active": false,
"avatar_url": "http://10.201.14.201:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
"created": "2024-03-20T14:45:23Z",
"description": "",
"email": "root@noreply.10.201.14.201",
"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": "17",
"run_number": "3",
"actor": "root",
"repository": "root/example-pull-request",
"event_name": "pull_request",
"sha": "46f117e9893723b589812ffc3627b5106b0db81b",
"ref": "refs/pull/2/head",
"ref_name": "2",
"ref_type": "",
"head_ref": "other",
"base_ref": "main",
"token": "eee7081f79fd86a9c8cd7d8dd34c8fffd5f75cab",
"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.201:3000",
"api_url": "http://10.201.14.201:3000/api/v1",
"graphql_url": ""
}