Files
woodpecker/server/forge/gitlab/fixtures/HookPullRequestReopened.json

174 lines
6.0 KiB
JSON

{
"object_kind": "merge_request",
"event_type": "merge_request",
"user": {
"id": 4575606,
"name": "6543",
"username": "real6543",
"avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/4575606/avatar.png",
"email": "[REDACTED]"
},
"project": {
"id": 72081820,
"name": "test_ci_tmp",
"description": null,
"web_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp",
"avatar_url": null,
"git_ssh_url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"git_http_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp.git",
"namespace": "demoaccount2-commits-group",
"visibility_level": 0,
"path_with_namespace": "demoaccount2-commits-group/test_ci_tmp",
"default_branch": "main",
"ci_config_path": "",
"homepage": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp",
"url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"ssh_url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"http_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp.git"
},
"object_attributes": {
"assignee_id": null,
"author_id": 29352663,
"created_at": "2025-07-29 20:00:54 UTC",
"description": "yeaaa",
"draft": false,
"head_pipeline_id": null,
"id": 403287663,
"iid": 1,
"last_edited_at": null,
"last_edited_by_id": null,
"merge_commit_sha": null,
"merge_error": null,
"merge_params": {},
"merge_status": "can_be_merged",
"merge_user_id": null,
"merge_when_pipeline_succeeds": false,
"milestone_id": null,
"source_branch": "6543-patch-1",
"source_project_id": 72081820,
"state_id": 1,
"target_branch": "main",
"target_project_id": 72081820,
"time_estimate": 0,
"title": "Some ned more AAAA",
"updated_at": "2025-08-05 14:44:26 UTC",
"updated_by_id": null,
"prepared_at": null,
"assignee_ids": [],
"blocking_discussions_resolved": true,
"detailed_merge_status": "mergeable",
"first_contribution": true,
"human_time_change": null,
"human_time_estimate": null,
"human_total_time_spent": null,
"labels": [
{
"id": 41869663,
"title": "documentation",
"color": "#0075ca",
"project_id": 72081820,
"created_at": "2025-07-30 00:40:00 UTC",
"updated_at": "2025-07-30 00:40:00 UTC",
"template": false,
"description": null,
"type": "ProjectLabel",
"group_id": null
}
],
"last_commit": {
"id": "36b5813240a9d2daa29b05046d56a53e18f39a3e",
"message": "Some ned more AAAA\n",
"title": "Some ned more AAAA",
"timestamp": "2025-07-29T16:45:02+02:00",
"url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp/-/commit/36b5813240a9d2daa29b05046d56a53e18f39a3e",
"author": {
"name": "6543",
"email": "[REDACTED]"
}
},
"reviewer_ids": [29352668],
"source": {
"id": 72081820,
"name": "test_ci_tmp",
"description": null,
"web_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp",
"avatar_url": null,
"git_ssh_url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"git_http_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp.git",
"namespace": "demoaccount2-commits-group",
"visibility_level": 0,
"path_with_namespace": "demoaccount2-commits-group/test_ci_tmp",
"default_branch": "main",
"ci_config_path": "",
"homepage": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp",
"url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"ssh_url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"http_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp.git"
},
"state": "opened",
"target": {
"id": 72081820,
"name": "test_ci_tmp",
"description": null,
"web_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp",
"avatar_url": null,
"git_ssh_url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"git_http_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp.git",
"namespace": "demoaccount2-commits-group",
"visibility_level": 0,
"path_with_namespace": "demoaccount2-commits-group/test_ci_tmp",
"default_branch": "main",
"ci_config_path": "",
"homepage": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp",
"url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"ssh_url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"http_url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp.git"
},
"time_change": 0,
"total_time_spent": 0,
"url": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp/-/merge_requests/1",
"work_in_progress": false,
"approval_rules": [],
"action": "reopen"
},
"labels": [
{
"id": 41869663,
"title": "documentation",
"color": "#0075ca",
"project_id": 72081820,
"created_at": "2025-07-30 00:40:00 UTC",
"updated_at": "2025-07-30 00:40:00 UTC",
"template": false,
"description": null,
"type": "ProjectLabel",
"group_id": null
}
],
"changes": {
"state_id": {
"previous": 2,
"current": 1
},
"updated_at": {
"previous": "2025-08-05 14:44:14 UTC",
"current": "2025-08-05 14:44:26 UTC"
}
},
"repository": {
"name": "test_ci_tmp",
"url": "git@gitlab.com:demoaccount2-commits-group/test_ci_tmp.git",
"description": null,
"homepage": "https://gitlab.com/demoaccount2-commits-group/test_ci_tmp"
},
"reviewers": [
{
"id": 29352668,
"name": "Placeholder github Source User",
"username": "demoaccount2commits_placeholder_6s82rp",
"avatar_url": "https://secure.gravatar.com/avatar/6d8b40c6bd417e69e359e712b55471dfc72af88c732fed9fe8d276a210aa5dd8?s=80&d=identicon",
"email": "[REDACTED]"
}
]
}