Skip to content

Commit 6ba5ff5

Browse files
committed
feat: [PIPE-28869]: Added support for pull_request_review
1 parent 3a9d633 commit 6ba5ff5

File tree

2 files changed

+223
-0
lines changed

2 files changed

+223
-0
lines changed
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"action": "submitted",
3+
"review": {
4+
"id": 3060633379,
5+
"node_id": "PRR_kwDOE_pLVc62bY8j",
6+
"user": {
7+
"login": "shivamnegi94",
8+
"id": 58415634,
9+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
10+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4",
11+
"gravatar_id": "",
12+
"url": "https://api.github.com/users/shivamnegi94",
13+
"html_url": "https://github.com/shivamnegi94",
14+
"type": "User",
15+
"site_admin": false
16+
},
17+
"body": "go",
18+
"commit_id": "adccd6c5030261b47e35d0d3798d4ed31a051f6d",
19+
"submitted_at": "2025-07-28T06:35:59Z",
20+
"state": "commented",
21+
"html_url": "https://github.com/shivamnegi94/testrepo/pull/205#pullrequestreview-3060633379",
22+
"pull_request_url": "https://api.github.com/repos/shivamnegi94/testrepo/pulls/205",
23+
"author_association": "OWNER"
24+
},
25+
"pull_request": {
26+
"url": "https://api.github.com/repos/shivamnegi94/testrepo/pulls/205",
27+
"id": 2699141628,
28+
"node_id": "PR_kwDOE_pLVc6g4aH8",
29+
"html_url": "https://github.com/shivamnegi94/testrepo/pull/205",
30+
"diff_url": "https://github.com/shivamnegi94/testrepo/pull/205.diff",
31+
"patch_url": "https://github.com/shivamnegi94/testrepo/pull/205.patch",
32+
"issue_url": "https://api.github.com/repos/shivamnegi94/testrepo/issues/205",
33+
"number": 205,
34+
"state": "open",
35+
"locked": false,
36+
"title": "Update NewSre_v1.yaml",
37+
"user": {
38+
"login": "shivamnegi94",
39+
"id": 58415634,
40+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
41+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4"
42+
},
43+
"body": null,
44+
"created_at": "2025-07-28T04:57:11Z",
45+
"updated_at": "2025-07-28T06:35:59Z",
46+
"closed_at": null,
47+
"merged_at": null,
48+
"merge_commit_sha": "728c82839639b8693c56c4237675deeca6b82163",
49+
"draft": false,
50+
"head": {
51+
"label": "shivamnegi94:shivamnegi94-patch-66",
52+
"ref": "shivamnegi94-patch-66",
53+
"sha": "adccd6c5030261b47e35d0d3798d4ed31a051f6d",
54+
"user": {
55+
"login": "shivamnegi94",
56+
"id": 58415634,
57+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
58+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4"
59+
},
60+
"repo": {
61+
"id": 335170389,
62+
"node_id": "MDEwOlJlcG9zaXRvcnkzMzUxNzAzODk=",
63+
"name": "testrepo",
64+
"full_name": "shivamnegi94/testrepo",
65+
"private": false,
66+
"owner": {
67+
"login": "shivamnegi94",
68+
"id": 58415634,
69+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4"
70+
},
71+
"html_url": "https://github.com/shivamnegi94/testrepo",
72+
"default_branch": "main",
73+
"visibility": "public"
74+
}
75+
},
76+
"base": {
77+
"label": "shivamnegi94:main",
78+
"ref": "main",
79+
"sha": "28e98f8dc20d4b20eb73b659e16f9fddeb860db5",
80+
"user": {
81+
"login": "shivamnegi94",
82+
"id": 58415634,
83+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
84+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4"
85+
},
86+
"repo": {
87+
"id": 335170389,
88+
"node_id": "MDEwOlJlcG9zaXRvcnkzMzUxNzAzODk=",
89+
"name": "testrepo",
90+
"full_name": "shivamnegi94/testrepo",
91+
"private": false,
92+
"owner": {
93+
"login": "shivamnegi94",
94+
"id": 58415634,
95+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4"
96+
},
97+
"html_url": "https://github.com/shivamnegi94/testrepo",
98+
"default_branch": "main",
99+
"visibility": "public"
100+
}
101+
}
102+
},
103+
"repository": {
104+
"id": 335170389,
105+
"node_id": "MDEwOlJlcG9zaXRvcnkzMzUxNzAzODk=",
106+
"name": "testrepo",
107+
"full_name": "shivamnegi94/testrepo",
108+
"private": false,
109+
"owner": {
110+
"login": "shivamnegi94",
111+
"id": 58415634,
112+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
113+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4"
114+
},
115+
"html_url": "https://github.com/shivamnegi94/testrepo",
116+
"default_branch": "main",
117+
"visibility": "public"
118+
},
119+
"sender": {
120+
"login": "shivamnegi94",
121+
"id": 58415634,
122+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
123+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4",
124+
"type": "User",
125+
"site_admin": false
126+
}
127+
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"action": "submitted",
3+
"review": {
4+
"id": 3060633379,
5+
"node_id": "PRR_kwDOE_pLVc62bY8j",
6+
"user": {
7+
"login": "shivamnegi94",
8+
"id": 58415634,
9+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
10+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4",
11+
"type": "User",
12+
"site_admin": false
13+
},
14+
"body": "go",
15+
"commit_id": "adccd6c5030261b47e35d0d3798d4ed31a051f6d",
16+
"submitted_at": "2025-07-28T06:35:59Z",
17+
"state": "commented",
18+
"html_url": "https://github.com/shivamnegi94/testrepo/pull/205#pullrequestreview-3060633379"
19+
},
20+
"pull_request": {
21+
"url": "https://api.github.com/repos/shivamnegi94/testrepo/pulls/205",
22+
"id": 2699141628,
23+
"node_id": "PR_kwDOE_pLVc6g4aH8",
24+
"html_url": "https://github.com/shivamnegi94/testrepo/pull/205",
25+
"number": 205,
26+
"state": "open",
27+
"title": "Update NewSre_v1.yaml",
28+
"user": {
29+
"login": "shivamnegi94",
30+
"id": 58415634,
31+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
32+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4",
33+
"type": "User"
34+
},
35+
"created_at": "2025-07-28T04:57:11Z",
36+
"updated_at": "2025-07-28T06:35:59Z",
37+
"head": {
38+
"ref": "shivamnegi94-patch-66",
39+
"sha": "adccd6c5030261b47e35d0d3798d4ed31a051f6d",
40+
"repo": {
41+
"id": 335170389,
42+
"name": "testrepo",
43+
"full_name": "shivamnegi94/testrepo",
44+
"private": false,
45+
"owner": {
46+
"login": "shivamnegi94",
47+
"id": 58415634,
48+
"type": "User"
49+
},
50+
"html_url": "https://github.com/shivamnegi94/testrepo",
51+
"clone_url": "https://github.com/shivamnegi94/testrepo.git",
52+
"default_branch": "main"
53+
}
54+
},
55+
"base": {
56+
"ref": "main",
57+
"sha": "28e98f8dc20d4b20eb73b659e16f9fddeb860db5",
58+
"repo": {
59+
"id": 335170389,
60+
"name": "testrepo",
61+
"full_name": "shivamnegi94/testrepo",
62+
"private": false,
63+
"owner": {
64+
"login": "shivamnegi94",
65+
"id": 58415634,
66+
"type": "User"
67+
},
68+
"html_url": "https://github.com/shivamnegi94/testrepo",
69+
"clone_url": "https://github.com/shivamnegi94/testrepo.git",
70+
"default_branch": "main"
71+
}
72+
}
73+
},
74+
"repository": {
75+
"id": 335170389,
76+
"name": "testrepo",
77+
"full_name": "shivamnegi94/testrepo",
78+
"private": false,
79+
"owner": {
80+
"login": "shivamnegi94",
81+
"id": 58415634,
82+
"type": "User"
83+
},
84+
"html_url": "https://github.com/bradrydzewski/drone-test-go",
85+
"clone_url": "https://github.com/bradrydzewski/drone-test-go.git",
86+
"default_branch": "master"
87+
},
88+
"sender": {
89+
"login": "shivamnegi94",
90+
"id": 58415634,
91+
"node_id": "MDQ6VXNlcjU4NDE1NjM0",
92+
"avatar_url": "https://avatars.githubusercontent.com/u/58415634?v=4",
93+
"type": "User",
94+
"site_admin": false
95+
}
96+
}

0 commit comments

Comments
 (0)