mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-12-22 22:17:10 -05:00
cascading-pr update
This commit is contained in:
parent
cc82968347
commit
b6af104871
5 changed files with 1707 additions and 0 deletions
|
@ -0,0 +1,467 @@
|
|||
{
|
||||
"event": {
|
||||
"action": "opened",
|
||||
"commit_id": "",
|
||||
"number": 1,
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 0,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:08Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 1,
|
||||
"sha": "22a05c7f96ff9fcad7032881dde06d1fef802f78"
|
||||
},
|
||||
"body": "",
|
||||
"closed_at": null,
|
||||
"comments": 0,
|
||||
"created_at": "2024-01-09T20:14:09Z",
|
||||
"diff_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1.diff",
|
||||
"due_date": null,
|
||||
"head": {
|
||||
"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.179:3000/fork-org/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"default_allow_maintainer_edit": false,
|
||||
"default_branch": "main",
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"description": "",
|
||||
"empty": false,
|
||||
"fork": true,
|
||||
"forks_count": 0,
|
||||
"full_name": "fork-org/example-pull-request",
|
||||
"has_actions": false,
|
||||
"has_issues": false,
|
||||
"has_packages": false,
|
||||
"has_projects": false,
|
||||
"has_pull_requests": true,
|
||||
"has_releases": false,
|
||||
"has_wiki": false,
|
||||
"html_url": "http://10.201.14.179:3000/fork-org/example-pull-request",
|
||||
"id": 2,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"internal": false,
|
||||
"language": "",
|
||||
"languages_url": "http://10.201.14.179:3000/api/v1/repos/fork-org/example-pull-request/languages",
|
||||
"link": "",
|
||||
"mirror": false,
|
||||
"mirror_interval": "",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"name": "example-pull-request",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 0,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/1bc28d03d2a646081c5f3f2f94128925",
|
||||
"created": "2024-01-09T20:14:08Z",
|
||||
"description": "",
|
||||
"email": "",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"full_name": "",
|
||||
"id": 2,
|
||||
"is_admin": false,
|
||||
"language": "",
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"location": "",
|
||||
"login": "fork-org",
|
||||
"login_name": "",
|
||||
"prohibit_login": false,
|
||||
"restricted": false,
|
||||
"starred_repos_count": 0,
|
||||
"username": "fork-org",
|
||||
"visibility": "public",
|
||||
"website": ""
|
||||
},
|
||||
"parent": {
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:08Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"pull": true,
|
||||
"push": false
|
||||
},
|
||||
"private": false,
|
||||
"release_counter": 0,
|
||||
"repo_transfer": null,
|
||||
"size": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:fork-org/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/fork-org/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 2,
|
||||
"sha": "3729df7c41ea4a48dae9284b58d16964036676cc"
|
||||
},
|
||||
"html_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1",
|
||||
"id": 1,
|
||||
"is_locked": false,
|
||||
"labels": [],
|
||||
"merge_base": "22a05c7f96ff9fcad7032881dde06d1fef802f78",
|
||||
"merge_commit_sha": null,
|
||||
"mergeable": true,
|
||||
"merged": false,
|
||||
"merged_at": null,
|
||||
"merged_by": null,
|
||||
"milestone": null,
|
||||
"number": 1,
|
||||
"patch_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1.patch",
|
||||
"pin_order": 0,
|
||||
"requested_reviewers": null,
|
||||
"state": "open",
|
||||
"title": "PR from fork",
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1",
|
||||
"user": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:08Z",
|
||||
"url": "http://10.201.14.179: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.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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": "1",
|
||||
"run_number": "1",
|
||||
"actor": "root",
|
||||
"repository": "root/example-pull-request",
|
||||
"event_name": "pull_request",
|
||||
"sha": "3729df7c41ea4a48dae9284b58d16964036676cc",
|
||||
"ref": "refs/pull/1/head",
|
||||
"ref_name": "1",
|
||||
"ref_type": "",
|
||||
"head_ref": "main",
|
||||
"base_ref": "main",
|
||||
"token": "ff06962bef57241f72400d0e78d24310be6988bc",
|
||||
"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.179:3000",
|
||||
"api_url": "http://10.201.14.179:3000/api/v1",
|
||||
"graphql_url": ""
|
||||
}
|
|
@ -0,0 +1,467 @@
|
|||
{
|
||||
"event": {
|
||||
"action": "opened",
|
||||
"commit_id": "",
|
||||
"number": 1,
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 0,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:08Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 1,
|
||||
"sha": "22a05c7f96ff9fcad7032881dde06d1fef802f78"
|
||||
},
|
||||
"body": "",
|
||||
"closed_at": null,
|
||||
"comments": 0,
|
||||
"created_at": "2024-01-09T20:14:09Z",
|
||||
"diff_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1.diff",
|
||||
"due_date": null,
|
||||
"head": {
|
||||
"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.179:3000/fork-org/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"default_allow_maintainer_edit": false,
|
||||
"default_branch": "main",
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"description": "",
|
||||
"empty": false,
|
||||
"fork": true,
|
||||
"forks_count": 0,
|
||||
"full_name": "fork-org/example-pull-request",
|
||||
"has_actions": false,
|
||||
"has_issues": false,
|
||||
"has_packages": false,
|
||||
"has_projects": false,
|
||||
"has_pull_requests": true,
|
||||
"has_releases": false,
|
||||
"has_wiki": false,
|
||||
"html_url": "http://10.201.14.179:3000/fork-org/example-pull-request",
|
||||
"id": 2,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"internal": false,
|
||||
"language": "",
|
||||
"languages_url": "http://10.201.14.179:3000/api/v1/repos/fork-org/example-pull-request/languages",
|
||||
"link": "",
|
||||
"mirror": false,
|
||||
"mirror_interval": "",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"name": "example-pull-request",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 0,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/1bc28d03d2a646081c5f3f2f94128925",
|
||||
"created": "2024-01-09T20:14:08Z",
|
||||
"description": "",
|
||||
"email": "",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"full_name": "",
|
||||
"id": 2,
|
||||
"is_admin": false,
|
||||
"language": "",
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"location": "",
|
||||
"login": "fork-org",
|
||||
"login_name": "",
|
||||
"prohibit_login": false,
|
||||
"restricted": false,
|
||||
"starred_repos_count": 0,
|
||||
"username": "fork-org",
|
||||
"visibility": "public",
|
||||
"website": ""
|
||||
},
|
||||
"parent": {
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:08Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"pull": true,
|
||||
"push": false
|
||||
},
|
||||
"private": false,
|
||||
"release_counter": 0,
|
||||
"repo_transfer": null,
|
||||
"size": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:fork-org/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/fork-org/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 2,
|
||||
"sha": "3729df7c41ea4a48dae9284b58d16964036676cc"
|
||||
},
|
||||
"html_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1",
|
||||
"id": 1,
|
||||
"is_locked": false,
|
||||
"labels": [],
|
||||
"merge_base": "22a05c7f96ff9fcad7032881dde06d1fef802f78",
|
||||
"merge_commit_sha": null,
|
||||
"mergeable": true,
|
||||
"merged": false,
|
||||
"merged_at": null,
|
||||
"merged_by": null,
|
||||
"milestone": null,
|
||||
"number": 1,
|
||||
"patch_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1.patch",
|
||||
"pin_order": 0,
|
||||
"requested_reviewers": null,
|
||||
"state": "open",
|
||||
"title": "PR from fork",
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/root/example-pull-request/pulls/1",
|
||||
"user": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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": 28,
|
||||
"ssh_url": "forgejo@10.201.14.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:08Z",
|
||||
"url": "http://10.201.14.179: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.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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": "2",
|
||||
"run_number": "2",
|
||||
"actor": "root",
|
||||
"repository": "root/example-pull-request",
|
||||
"event_name": "pull_request_target",
|
||||
"sha": "22a05c7f96ff9fcad7032881dde06d1fef802f78",
|
||||
"ref": "refs/heads/main",
|
||||
"ref_name": "main",
|
||||
"ref_type": "branch",
|
||||
"head_ref": "main",
|
||||
"base_ref": "main",
|
||||
"token": "dba7325794458f2a39ff20b27025bc177deb8d66",
|
||||
"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.179:3000",
|
||||
"api_url": "http://10.201.14.179:3000/api/v1",
|
||||
"graphql_url": ""
|
||||
}
|
386
docs/user/actions-contexts/pull-request/root/pull_request/github
Normal file
386
docs/user/actions-contexts/pull-request/root/pull_request/github
Normal file
|
@ -0,0 +1,386 @@
|
|||
{
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 1,
|
||||
"sha": "22a05c7f96ff9fcad7032881dde06d1fef802f78"
|
||||
},
|
||||
"body": "",
|
||||
"closed_at": null,
|
||||
"comments": 0,
|
||||
"created_at": "2024-01-09T20:14:09Z",
|
||||
"diff_url": "http://10.201.14.179: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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 1,
|
||||
"sha": "8d42f057e282a34a109f3323df8a0a76552741bf"
|
||||
},
|
||||
"html_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/2",
|
||||
"id": 2,
|
||||
"is_locked": false,
|
||||
"labels": [],
|
||||
"merge_base": "22a05c7f96ff9fcad7032881dde06d1fef802f78",
|
||||
"merge_commit_sha": null,
|
||||
"mergeable": true,
|
||||
"merged": false,
|
||||
"merged_at": null,
|
||||
"merged_by": null,
|
||||
"milestone": null,
|
||||
"number": 2,
|
||||
"patch_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/2.patch",
|
||||
"pin_order": 0,
|
||||
"requested_reviewers": null,
|
||||
"state": "open",
|
||||
"title": "PR same repo",
|
||||
"updated_at": "2024-01-09T20:14:10Z",
|
||||
"url": "http://10.201.14.179:3000/root/example-pull-request/pulls/2",
|
||||
"user": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 2,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179: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.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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": "3",
|
||||
"run_number": "3",
|
||||
"actor": "root",
|
||||
"repository": "root/example-pull-request",
|
||||
"event_name": "pull_request",
|
||||
"sha": "8d42f057e282a34a109f3323df8a0a76552741bf",
|
||||
"ref": "refs/pull/2/head",
|
||||
"ref_name": "2",
|
||||
"ref_type": "",
|
||||
"head_ref": "other",
|
||||
"base_ref": "main",
|
||||
"token": "a4e7bda8ca42f8890596f18e9756f3c6856657e1",
|
||||
"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.179:3000",
|
||||
"api_url": "http://10.201.14.179:3000/api/v1",
|
||||
"graphql_url": ""
|
||||
}
|
|
@ -0,0 +1,386 @@
|
|||
{
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 1,
|
||||
"sha": "22a05c7f96ff9fcad7032881dde06d1fef802f78"
|
||||
},
|
||||
"body": "",
|
||||
"closed_at": null,
|
||||
"comments": 0,
|
||||
"created_at": "2024-01-09T20:14:09Z",
|
||||
"diff_url": "http://10.201.14.179: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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 1,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179:3000/api/v1/repos/root/example-pull-request",
|
||||
"watchers_count": 1,
|
||||
"website": ""
|
||||
},
|
||||
"repo_id": 1,
|
||||
"sha": "8d42f057e282a34a109f3323df8a0a76552741bf"
|
||||
},
|
||||
"html_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/2",
|
||||
"id": 2,
|
||||
"is_locked": false,
|
||||
"labels": [],
|
||||
"merge_base": "22a05c7f96ff9fcad7032881dde06d1fef802f78",
|
||||
"merge_commit_sha": null,
|
||||
"mergeable": true,
|
||||
"merged": false,
|
||||
"merged_at": null,
|
||||
"merged_by": null,
|
||||
"milestone": null,
|
||||
"number": 2,
|
||||
"patch_url": "http://10.201.14.179:3000/root/example-pull-request/pulls/2.patch",
|
||||
"pin_order": 0,
|
||||
"requested_reviewers": null,
|
||||
"state": "open",
|
||||
"title": "PR same repo",
|
||||
"updated_at": "2024-01-09T20:14:10Z",
|
||||
"url": "http://10.201.14.179:3000/root/example-pull-request/pulls/2",
|
||||
"user": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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.179:3000/root/example-pull-request.git",
|
||||
"created_at": "2024-01-09T20:14:08Z",
|
||||
"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.179:3000/root/example-pull-request",
|
||||
"id": 1,
|
||||
"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.179: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",
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 2,
|
||||
"original_url": "",
|
||||
"owner": {
|
||||
"active": false,
|
||||
"avatar_url": "http://10.201.14.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"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.179:root/example-pull-request.git",
|
||||
"stars_count": 0,
|
||||
"template": false,
|
||||
"updated_at": "2024-01-09T20:14:09Z",
|
||||
"url": "http://10.201.14.179: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.179:3000/avatars/04edfc0ef6c6cf6d6b88fbc69f9f9071",
|
||||
"created": "2024-01-09T20:14:04Z",
|
||||
"description": "",
|
||||
"email": "root@noreply.10.201.14.179",
|
||||
"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": "4",
|
||||
"run_number": "4",
|
||||
"actor": "root",
|
||||
"repository": "root/example-pull-request",
|
||||
"event_name": "pull_request_target",
|
||||
"sha": "22a05c7f96ff9fcad7032881dde06d1fef802f78",
|
||||
"ref": "refs/heads/main",
|
||||
"ref_name": "main",
|
||||
"ref_type": "branch",
|
||||
"head_ref": "other",
|
||||
"base_ref": "main",
|
||||
"token": "2376fad8b22106818a2e5cdba25b64727b1cffd2",
|
||||
"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.179:3000",
|
||||
"api_url": "http://10.201.14.179:3000/api/v1",
|
||||
"graphql_url": ""
|
||||
}
|
1
docs/user/actions-contexts/version.txt
Normal file
1
docs/user/actions-contexts/version.txt
Normal file
|
@ -0,0 +1 @@
|
|||
v1.22.0-test
|
Loading…
Reference in a new issue