Files
woodpecker/server/forge/forgejo/fixtures/HookPullRequestUpdated.json

138 lines
4.1 KiB
JSON

{
"action": "synchronized",
"number": 2,
"pull_request": {
"id": 2,
"url": "http://127.0.0.1:3000/Test-CI/multi-line-secrets/pulls/2",
"number": 2,
"user": {
"id": 1,
"login": "test",
"login_name": "",
"full_name": "",
"email": "test@noreply.localhost",
"avatar_url": "http://127.0.0.1:3000/avatars/dd46a756faad4727fb679320751f6dea",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2023-07-31T19:13:05+02:00",
"visibility": "public",
"username": "test"
},
"title": "New Pull",
"body": "create an awesome pull",
"labels": [
{
"id": 8,
"name": "Kind/Bug",
"exclusive": false,
"is_archived": false,
"color": "ee0701",
"description": "Something is not working",
"url": "http://100.106.226.9:3000/api/v1/repos/Test-CI/multi-line-secrets/labels/8"
},
{
"id": 11,
"name": "Kind/Security",
"exclusive": false,
"is_archived": false,
"color": "9c27b0",
"description": "This is security issue",
"url": "http://100.106.226.9:3000/api/v1/repos/Test-CI/multi-line-secrets/labels/11"
}
],
"milestone": null,
"assignees": null,
"requested_reviewers": null,
"state": "open",
"is_locked": false,
"html_url": "http://127.0.0.1:3000/Test-CI/multi-line-secrets/pulls/2",
"diff_url": "http://127.0.0.1:3000/Test-CI/multi-line-secrets/pulls/2.diff",
"patch_url": "http://127.0.0.1:3000/Test-CI/multi-line-secrets/pulls/2.patch",
"mergeable": true,
"merged": false,
"merged_at": null,
"merge_commit_sha": null,
"merged_by": null,
"base": {
"label": "main",
"ref": "main",
"sha": "29be01c073851cf0db0c6a466e396b725a670453",
"repo_id": 6
},
"head": {
"label": "test-patch-1",
"ref": "test-patch-1",
"sha": "788ed8d02d3b7fcfcf6386dbcbca696aa1d4dc25",
"repo_id": 6
},
"merge_base": "29be01c073851cf0db0c6a466e396b725a670453",
"due_date": null,
"created_at": "2024-02-22T01:38:39+01:00",
"updated_at": "2024-02-22T01:42:03+01:00",
"closed_at": null,
"pin_order": 0
},
"requested_reviewer": null,
"repository": {
"id": 6,
"owner": {
"id": 2,
"login": "Test-CI",
"login_name": "",
"full_name": "",
"email": "",
"avatar_url": "http://127.0.0.1:3000/avatars/5b0a83c2185b3cb1ebceb11062d6c2eb",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2023-07-31T19:13:48+02:00",
"prohibit_login": false,
"visibility": "public",
"username": "Test-CI"
},
"name": "multi-line-secrets",
"full_name": "Test-CI/multi-line-secrets",
"description": "",
"private": false,
"languages_url": "http://127.0.0.1:3000/api/v1/repos/Test-CI/multi-line-secrets/languages",
"html_url": "http://127.0.0.1:3000/Test-CI/multi-line-secrets",
"url": "http://127.0.0.1:3000/api/v1/repos/Test-CI/multi-line-secrets",
"link": "",
"ssh_url": "ssh://git@127.0.0.1:2200/Test-CI/multi-line-secrets.git",
"clone_url": "http://127.0.0.1:3000/Test-CI/multi-line-secrets.git",
"original_url": "",
"default_branch": "main",
"permissions": {
"admin": true,
"push": true,
"pull": true
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_pull_requests": true,
"avatar_url": "",
"internal": false,
"mirror_interval": "",
"object_format_name": ""
},
"sender": {
"id": 1,
"login": "test",
"login_name": "",
"full_name": "",
"email": "test@noreply.localhost",
"avatar_url": "http://127.0.0.1:3000/avatars/dd46a756faad4727fb679320751f6dea",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2023-07-31T19:13:05+02:00",
"visibility": "public",
"username": "test"
},
"commit_id": "",
"review": null
}