Comparison

mod_pubsub_forgejo/webhook-examples/pull_request_rejected/content.json @ 6203:131b8bfbefb4

mod_pubsub_forgejo: new module for forgejo webhooks
author nicoco <nicoco@nicoco.fr>
date Mon, 17 Feb 2025 23:28:05 +0100
comparison
equal deleted inserted replaced
6202:6d5a19bdd718 6203:131b8bfbefb4
1 {
2 "action": "reviewed",
3 "number": 3591,
4 "pull_request": {
5 "id": 289137,
6 "url": "https://codeberg.org/poezio/slixmpp/pulls/3591",
7 "number": 3591,
8 "user": {
9 "id": 102461,
10 "login": "mathieui",
11 "login_name": "",
12 "source_id": 0,
13 "full_name": "",
14 "email": "mathieui@noreply.codeberg.org",
15 "avatar_url": "https://codeberg.org/avatars/921cd14ed81b453b5eab40840af709a256e4fcb2d0c19ff47a7a33948978c3c4",
16 "html_url": "https://codeberg.org/mathieui",
17 "language": "",
18 "is_admin": false,
19 "last_login": "0001-01-01T00:00:00Z",
20 "created": "2023-06-17T14:34:13Z",
21 "restricted": false,
22 "active": false,
23 "prohibit_login": false,
24 "location": "",
25 "pronouns": "",
26 "website": "",
27 "description": "",
28 "visibility": "public",
29 "followers_count": 1,
30 "following_count": 0,
31 "starred_repos_count": 1,
32 "username": "mathieui"
33 },
34 "title": "XEP-0410: add support",
35 "body": "This commit introduces an automated monitoring of MUC presence based on\r\nXEP-0410. An invisible background job is tasked with pinging inactive\r\nMUCs.",
36 "labels": [],
37 "milestone": null,
38 "assignee": null,
39 "assignees": null,
40 "requested_reviewers": [
41 {
42 "id": 64076,
43 "login": "nicoco",
44 "login_name": "",
45 "source_id": 0,
46 "full_name": "",
47 "email": "nicoco@noreply.codeberg.org",
48 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
49 "html_url": "https://codeberg.org/nicoco",
50 "language": "",
51 "is_admin": false,
52 "last_login": "0001-01-01T00:00:00Z",
53 "created": "2022-09-12T11:13:13Z",
54 "restricted": false,
55 "active": false,
56 "prohibit_login": false,
57 "location": "Nice, France",
58 "pronouns": "",
59 "website": "https://nicoco.fr",
60 "description": "wannabe-hacker",
61 "visibility": "public",
62 "followers_count": 2,
63 "following_count": 0,
64 "starred_repos_count": 4,
65 "username": "nicoco"
66 }
67 ],
68 "requested_reviewers_teams": null,
69 "state": "open",
70 "draft": false,
71 "is_locked": false,
72 "comments": 0,
73 "review_comments": 1,
74 "additions": 407,
75 "deletions": 0,
76 "changed_files": 7,
77 "html_url": "https://codeberg.org/poezio/slixmpp/pulls/3591",
78 "diff_url": "https://codeberg.org/poezio/slixmpp/pulls/3591.diff",
79 "patch_url": "https://codeberg.org/poezio/slixmpp/pulls/3591.patch",
80 "mergeable": true,
81 "merged": false,
82 "merged_at": null,
83 "merge_commit_sha": null,
84 "merged_by": null,
85 "allow_maintainer_edit": false,
86 "base": {
87 "label": "master",
88 "ref": "master",
89 "sha": "e344947180bbfd667ac572176727f799349815db",
90 "repo_id": 123634,
91 "repo": {
92 "id": 123634,
93 "owner": {
94 "id": 102463,
95 "login": "poezio",
96 "login_name": "",
97 "source_id": 0,
98 "full_name": "",
99 "email": "",
100 "avatar_url": "https://codeberg.org/avatars/b9b08e0933aaa3579fb616166718292652ae8b70457e50de3a46c1e412f99631",
101 "html_url": "https://codeberg.org/poezio",
102 "language": "",
103 "is_admin": false,
104 "last_login": "0001-01-01T00:00:00Z",
105 "created": "2023-06-17T14:35:46Z",
106 "restricted": false,
107 "active": false,
108 "prohibit_login": false,
109 "location": "cyberspace",
110 "pronouns": "",
111 "website": "",
112 "description": "Organization for poezio \u0026 slixmpp",
113 "visibility": "public",
114 "followers_count": 3,
115 "following_count": 0,
116 "starred_repos_count": 0,
117 "username": "poezio"
118 },
119 "name": "slixmpp",
120 "full_name": "poezio/slixmpp",
121 "description": "Modern python XMPP library using asyncio.",
122 "empty": false,
123 "private": false,
124 "fork": false,
125 "template": false,
126 "parent": null,
127 "mirror": false,
128 "size": 12914,
129 "language": "",
130 "languages_url": "https://codeberg.org/api/v1/repos/poezio/slixmpp/languages",
131 "html_url": "https://codeberg.org/poezio/slixmpp",
132 "url": "https://codeberg.org/api/v1/repos/poezio/slixmpp",
133 "link": "",
134 "ssh_url": "git@codeberg.org:poezio/slixmpp.git",
135 "clone_url": "https://codeberg.org/poezio/slixmpp.git",
136 "original_url": "https://lab.louiz.org/poezio/slixmpp",
137 "website": "",
138 "stars_count": 14,
139 "forks_count": 9,
140 "watchers_count": 6,
141 "open_issues_count": 51,
142 "open_pr_counter": 12,
143 "release_counter": 10,
144 "default_branch": "master",
145 "archived": false,
146 "created_at": "2023-07-06T09:10:25Z",
147 "updated_at": "2025-02-13T22:17:56Z",
148 "archived_at": "1970-01-01T00:00:00Z",
149 "permissions": {
150 "admin": true,
151 "push": true,
152 "pull": true
153 },
154 "has_issues": true,
155 "internal_tracker": {
156 "enable_time_tracker": true,
157 "allow_only_contributors_to_track_time": true,
158 "enable_issue_dependencies": true
159 },
160 "has_wiki": true,
161 "wiki_branch": "master",
162 "globally_editable_wiki": false,
163 "has_pull_requests": true,
164 "has_projects": true,
165 "has_releases": true,
166 "has_packages": true,
167 "has_actions": false,
168 "ignore_whitespace_conflicts": false,
169 "allow_merge_commits": true,
170 "allow_rebase": true,
171 "allow_rebase_explicit": true,
172 "allow_squash_merge": true,
173 "allow_fast_forward_only_merge": false,
174 "allow_rebase_update": true,
175 "default_delete_branch_after_merge": false,
176 "default_merge_style": "merge",
177 "default_allow_maintainer_edit": false,
178 "default_update_style": "merge",
179 "avatar_url": "",
180 "internal": false,
181 "mirror_interval": "",
182 "object_format_name": "sha1",
183 "mirror_updated": "0001-01-01T00:00:00Z",
184 "repo_transfer": null,
185 "topics": [
186 "python",
187 "library",
188 "xmpp",
189 "jabber",
190 "asyncio"
191 ]
192 }
193 },
194 "head": {
195 "label": "add-xep-0410",
196 "ref": "add-xep-0410",
197 "sha": "d768dfdc4b2f52570adfd0cdfc5480eafd5b258b",
198 "repo_id": 123634,
199 "repo": {
200 "id": 123634,
201 "owner": {
202 "id": 102463,
203 "login": "poezio",
204 "login_name": "",
205 "source_id": 0,
206 "full_name": "",
207 "email": "",
208 "avatar_url": "https://codeberg.org/avatars/b9b08e0933aaa3579fb616166718292652ae8b70457e50de3a46c1e412f99631",
209 "html_url": "https://codeberg.org/poezio",
210 "language": "",
211 "is_admin": false,
212 "last_login": "0001-01-01T00:00:00Z",
213 "created": "2023-06-17T14:35:46Z",
214 "restricted": false,
215 "active": false,
216 "prohibit_login": false,
217 "location": "cyberspace",
218 "pronouns": "",
219 "website": "",
220 "description": "Organization for poezio \u0026 slixmpp",
221 "visibility": "public",
222 "followers_count": 3,
223 "following_count": 0,
224 "starred_repos_count": 0,
225 "username": "poezio"
226 },
227 "name": "slixmpp",
228 "full_name": "poezio/slixmpp",
229 "description": "Modern python XMPP library using asyncio.",
230 "empty": false,
231 "private": false,
232 "fork": false,
233 "template": false,
234 "parent": null,
235 "mirror": false,
236 "size": 12914,
237 "language": "",
238 "languages_url": "https://codeberg.org/api/v1/repos/poezio/slixmpp/languages",
239 "html_url": "https://codeberg.org/poezio/slixmpp",
240 "url": "https://codeberg.org/api/v1/repos/poezio/slixmpp",
241 "link": "",
242 "ssh_url": "git@codeberg.org:poezio/slixmpp.git",
243 "clone_url": "https://codeberg.org/poezio/slixmpp.git",
244 "original_url": "https://lab.louiz.org/poezio/slixmpp",
245 "website": "",
246 "stars_count": 14,
247 "forks_count": 9,
248 "watchers_count": 6,
249 "open_issues_count": 51,
250 "open_pr_counter": 12,
251 "release_counter": 10,
252 "default_branch": "master",
253 "archived": false,
254 "created_at": "2023-07-06T09:10:25Z",
255 "updated_at": "2025-02-13T22:17:56Z",
256 "archived_at": "1970-01-01T00:00:00Z",
257 "permissions": {
258 "admin": true,
259 "push": true,
260 "pull": true
261 },
262 "has_issues": true,
263 "internal_tracker": {
264 "enable_time_tracker": true,
265 "allow_only_contributors_to_track_time": true,
266 "enable_issue_dependencies": true
267 },
268 "has_wiki": true,
269 "wiki_branch": "master",
270 "globally_editable_wiki": false,
271 "has_pull_requests": true,
272 "has_projects": true,
273 "has_releases": true,
274 "has_packages": true,
275 "has_actions": false,
276 "ignore_whitespace_conflicts": false,
277 "allow_merge_commits": true,
278 "allow_rebase": true,
279 "allow_rebase_explicit": true,
280 "allow_squash_merge": true,
281 "allow_fast_forward_only_merge": false,
282 "allow_rebase_update": true,
283 "default_delete_branch_after_merge": false,
284 "default_merge_style": "merge",
285 "default_allow_maintainer_edit": false,
286 "default_update_style": "merge",
287 "avatar_url": "",
288 "internal": false,
289 "mirror_interval": "",
290 "object_format_name": "sha1",
291 "mirror_updated": "0001-01-01T00:00:00Z",
292 "repo_transfer": null,
293 "topics": [
294 "python",
295 "library",
296 "xmpp",
297 "jabber",
298 "asyncio"
299 ]
300 }
301 },
302 "merge_base": "e344947180bbfd667ac572176727f799349815db",
303 "due_date": null,
304 "created_at": "2025-02-13T22:18:10Z",
305 "updated_at": "2025-02-14T16:33:20Z",
306 "closed_at": null,
307 "pin_order": 0
308 },
309 "requested_reviewer": {
310 "id": 64076,
311 "login": "nicoco",
312 "login_name": "",
313 "source_id": 0,
314 "full_name": "",
315 "email": "nicoco@noreply.codeberg.org",
316 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
317 "html_url": "https://codeberg.org/nicoco",
318 "language": "",
319 "is_admin": false,
320 "last_login": "0001-01-01T00:00:00Z",
321 "created": "2022-09-12T11:13:13Z",
322 "restricted": false,
323 "active": false,
324 "prohibit_login": false,
325 "location": "Nice, France",
326 "pronouns": "",
327 "website": "https://nicoco.fr",
328 "description": "wannabe-hacker",
329 "visibility": "public",
330 "followers_count": 2,
331 "following_count": 0,
332 "starred_repos_count": 4,
333 "username": "nicoco"
334 },
335 "repository": {
336 "id": 123634,
337 "owner": {
338 "id": 102463,
339 "login": "poezio",
340 "login_name": "",
341 "source_id": 0,
342 "full_name": "",
343 "email": "",
344 "avatar_url": "https://codeberg.org/avatars/b9b08e0933aaa3579fb616166718292652ae8b70457e50de3a46c1e412f99631",
345 "html_url": "https://codeberg.org/poezio",
346 "language": "",
347 "is_admin": false,
348 "last_login": "0001-01-01T00:00:00Z",
349 "created": "2023-06-17T14:35:46Z",
350 "restricted": false,
351 "active": false,
352 "prohibit_login": false,
353 "location": "cyberspace",
354 "pronouns": "",
355 "website": "",
356 "description": "Organization for poezio \u0026 slixmpp",
357 "visibility": "public",
358 "followers_count": 3,
359 "following_count": 0,
360 "starred_repos_count": 0,
361 "username": "poezio"
362 },
363 "name": "slixmpp",
364 "full_name": "poezio/slixmpp",
365 "description": "Modern python XMPP library using asyncio.",
366 "empty": false,
367 "private": false,
368 "fork": false,
369 "template": false,
370 "parent": null,
371 "mirror": false,
372 "size": 12914,
373 "language": "",
374 "languages_url": "https://codeberg.org/api/v1/repos/poezio/slixmpp/languages",
375 "html_url": "https://codeberg.org/poezio/slixmpp",
376 "url": "https://codeberg.org/api/v1/repos/poezio/slixmpp",
377 "link": "",
378 "ssh_url": "git@codeberg.org:poezio/slixmpp.git",
379 "clone_url": "https://codeberg.org/poezio/slixmpp.git",
380 "original_url": "https://lab.louiz.org/poezio/slixmpp",
381 "website": "",
382 "stars_count": 14,
383 "forks_count": 9,
384 "watchers_count": 6,
385 "open_issues_count": 51,
386 "open_pr_counter": 12,
387 "release_counter": 10,
388 "default_branch": "master",
389 "archived": false,
390 "created_at": "2023-07-06T09:10:25Z",
391 "updated_at": "2025-02-13T22:17:56Z",
392 "archived_at": "1970-01-01T00:00:00Z",
393 "permissions": {
394 "admin": true,
395 "push": true,
396 "pull": true
397 },
398 "has_issues": true,
399 "internal_tracker": {
400 "enable_time_tracker": true,
401 "allow_only_contributors_to_track_time": true,
402 "enable_issue_dependencies": true
403 },
404 "has_wiki": true,
405 "wiki_branch": "master",
406 "globally_editable_wiki": false,
407 "has_pull_requests": true,
408 "has_projects": true,
409 "has_releases": true,
410 "has_packages": true,
411 "has_actions": false,
412 "ignore_whitespace_conflicts": false,
413 "allow_merge_commits": true,
414 "allow_rebase": true,
415 "allow_rebase_explicit": true,
416 "allow_squash_merge": true,
417 "allow_fast_forward_only_merge": false,
418 "allow_rebase_update": true,
419 "default_delete_branch_after_merge": false,
420 "default_merge_style": "merge",
421 "default_allow_maintainer_edit": false,
422 "default_update_style": "merge",
423 "avatar_url": "",
424 "internal": false,
425 "mirror_interval": "",
426 "object_format_name": "sha1",
427 "mirror_updated": "0001-01-01T00:00:00Z",
428 "repo_transfer": null,
429 "topics": [
430 "python",
431 "library",
432 "xmpp",
433 "jabber",
434 "asyncio"
435 ]
436 },
437 "sender": {
438 "id": 64076,
439 "login": "nicoco",
440 "login_name": "",
441 "source_id": 0,
442 "full_name": "",
443 "email": "nicoco@noreply.codeberg.org",
444 "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
445 "html_url": "https://codeberg.org/nicoco",
446 "language": "",
447 "is_admin": false,
448 "last_login": "0001-01-01T00:00:00Z",
449 "created": "2022-09-12T11:13:13Z",
450 "restricted": false,
451 "active": false,
452 "prohibit_login": false,
453 "location": "Nice, France",
454 "pronouns": "",
455 "website": "https://nicoco.fr",
456 "description": "wannabe-hacker",
457 "visibility": "public",
458 "followers_count": 2,
459 "following_count": 0,
460 "starred_repos_count": 4,
461 "username": "nicoco"
462 },
463 "commit_id": "",
464 "review": {
465 "type": "pull_request_review_rejected",
466 "content": "I spotted one typo, that review was not completely useless, YEAH!\r\n\r\nYou mentioned oob that you'd like more integration tests, maybe that plugin is a good candidate for them? Testing silent kick is probably near-impossible without a custom muc component, but the \"you're still joined\" path looks like it would be doable?"
467 }
468 }