You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gi...@apache.org on 2024/08/17 15:19:25 UTC
(kafka-merge-queue-sandbox) branch gh-readonly-queue/main/pr-36-a66bbd7b44768191bbc28db9584d7cd6788bf9c2 created (now 4f4c61d)
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch gh-readonly-queue/main/pr-36-a66bbd7b44768191bbc28db9584d7cd6788bf9c2
in repository https://gitbox.apache.org/repos/asf/kafka-merge-queue-sandbox.git
at 4f4c61d Parse more webhooks (#36)
This branch includes the following new commits:
new 4f4c61d Parse more webhooks (#36)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(kafka-merge-queue-sandbox) 01/01: Parse more webhooks (#36)
Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch gh-readonly-queue/main/pr-36-a66bbd7b44768191bbc28db9584d7cd6788bf9c2
in repository https://gitbox.apache.org/repos/asf/kafka-merge-queue-sandbox.git
commit 4f4c61d8807882e0b0617640ced9204dc79e4428
Author: David Arthur <mu...@gmail.com>
AuthorDate: Sat Aug 17 11:19:00 2024 -0400
Parse more webhooks (#36)
---
webhook-payloads/merge_group_payload.json | 173 +++++++++
webhook-payloads/pull_request_dequeued.json | 538 ++++++++++++++++++++++++++++
webhook-payloads/pull_request_enqueued.json | 518 ++++++++++++++++++++++++++
webhook-receive.py | 31 +-
4 files changed, 1259 insertions(+), 1 deletion(-)
diff --git a/webhook-payloads/merge_group_payload.json b/webhook-payloads/merge_group_payload.json
new file mode 100644
index 0000000..1031a27
--- /dev/null
+++ b/webhook-payloads/merge_group_payload.json
@@ -0,0 +1,173 @@
+{
+ "event": "merge_group",
+ "payload": {
+ "action": "checks_requested",
+ "merge_group": {
+ "head_sha": "d096d409b018b82dd461cd6be5a398097faab43c",
+ "head_ref": "refs/heads/gh-readonly-queue/main/pr-35-9f25bf1241994309a97e9cf692a4a4111d31adbf",
+ "base_sha": "9f25bf1241994309a97e9cf692a4a4111d31adbf",
+ "base_ref": "refs/heads/main",
+ "head_commit": {
+ "id": "d096d409b018b82dd461cd6be5a398097faab43c",
+ "tree_id": "bb19928440bc59e8786a32b572fafa78434debd3",
+ "message": "update readme (#35)",
+ "timestamp": "2024-08-17T14:11:29Z",
+ "author": {
+ "name": "David Arthur",
+ "email": "mumrah@gmail.com"
+ },
+ "committer": {
+ "name": "GitHub",
+ "email": "noreply@github.com"
+ }
+ }
+ },
+ "repository": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:09:52Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 3,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 3,
+ "watchers": 0,
+ "default_branch": "main",
+ "custom_properties": {}
+ },
+ "organization": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "url": "https://api.github.com/orgs/apache",
+ "repos_url": "https://api.github.com/orgs/apache/repos",
+ "events_url": "https://api.github.com/orgs/apache/events",
+ "hooks_url": "https://api.github.com/orgs/apache/hooks",
+ "issues_url": "https://api.github.com/orgs/apache/issues",
+ "members_url": "https://api.github.com/orgs/apache/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/apache/public_members{/member}",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "description": ""
+ },
+ "enterprise": {
+ "id": 212555,
+ "slug": "the-asf",
+ "name": "The ASF",
+ "node_id": "E_kgDOAAM-Sw",
+ "avatar_url": "https://avatars.githubusercontent.com/b/212555?v=4",
+ "description": null,
+ "website_url": null,
+ "html_url": "https://github.com/enterprises/the-asf",
+ "created_at": "2024-08-17T07:54:05Z",
+ "updated_at": "2024-08-17T07:54:30Z"
+ },
+ "sender": {
+ "login": "mumrah",
+ "id": 55116,
+ "node_id": "MDQ6VXNlcjU1MTE2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/55116?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/mumrah",
+ "html_url": "https://github.com/mumrah",
+ "followers_url": "https://api.github.com/users/mumrah/followers",
+ "following_url": "https://api.github.com/users/mumrah/following{/other_user}",
+ "gists_url": "https://api.github.com/users/mumrah/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/mumrah/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/mumrah/subscriptions",
+ "organizations_url": "https://api.github.com/users/mumrah/orgs",
+ "repos_url": "https://api.github.com/users/mumrah/repos",
+ "events_url": "https://api.github.com/users/mumrah/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/mumrah/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+}
diff --git a/webhook-payloads/pull_request_dequeued.json b/webhook-payloads/pull_request_dequeued.json
new file mode 100644
index 0000000..9e09f0a
--- /dev/null
+++ b/webhook-payloads/pull_request_dequeued.json
@@ -0,0 +1,538 @@
+{
+ "event": "pull_request",
+ "payload": {
+ "action": "dequeued",
+ "number": 35,
+ "pull_request": {
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35",
+ "id": 2024032849,
+ "node_id": "PR_kwDOMRGlbM54pEpR",
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35",
+ "diff_url": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35.diff",
+ "patch_url": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35.patch",
+ "issue_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35",
+ "number": 35,
+ "state": "closed",
+ "locked": false,
+ "title": "update readme",
+ "user": {
+ "login": "mumrah",
+ "id": 55116,
+ "node_id": "MDQ6VXNlcjU1MTE2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/55116?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/mumrah",
+ "html_url": "https://github.com/mumrah",
+ "followers_url": "https://api.github.com/users/mumrah/followers",
+ "following_url": "https://api.github.com/users/mumrah/following{/other_user}",
+ "gists_url": "https://api.github.com/users/mumrah/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/mumrah/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/mumrah/subscriptions",
+ "organizations_url": "https://api.github.com/users/mumrah/orgs",
+ "repos_url": "https://api.github.com/users/mumrah/repos",
+ "events_url": "https://api.github.com/users/mumrah/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/mumrah/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": null,
+ "created_at": "2024-08-17T14:09:51Z",
+ "updated_at": "2024-08-17T14:12:20Z",
+ "closed_at": "2024-08-17T14:12:19Z",
+ "merged_at": "2024-08-17T14:12:19Z",
+ "merge_commit_sha": "d096d409b018b82dd461cd6be5a398097faab43c",
+ "assignee": null,
+ "assignees": [],
+ "requested_reviewers": [],
+ "requested_teams": [],
+ "labels": [],
+ "milestone": null,
+ "draft": false,
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/commits",
+ "review_comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/comments",
+ "review_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35/comments",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/7b76a42650d93d5b18f912a13352d169d3b6b786",
+ "head": {
+ "label": "apache:aug-17-test",
+ "ref": "aug-17-test",
+ "sha": "7b76a42650d93d5b18f912a13352d169d3b6b786",
+ "user": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:12:19Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "main",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "allow_rebase_merge": true,
+ "allow_auto_merge": false,
+ "delete_branch_on_merge": false,
+ "allow_update_branch": false,
+ "use_squash_pr_title_as_default": false,
+ "squash_merge_commit_message": "COMMIT_MESSAGES",
+ "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+ "merge_commit_message": "PR_BODY",
+ "merge_commit_title": "PR_TITLE"
+ }
+ },
+ "base": {
+ "label": "apache:main",
+ "ref": "main",
+ "sha": "9f25bf1241994309a97e9cf692a4a4111d31adbf",
+ "user": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:12:19Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "main",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "allow_rebase_merge": true,
+ "allow_auto_merge": false,
+ "delete_branch_on_merge": false,
+ "allow_update_branch": false,
+ "use_squash_pr_title_as_default": false,
+ "squash_merge_commit_message": "COMMIT_MESSAGES",
+ "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+ "merge_commit_message": "PR_BODY",
+ "merge_commit_title": "PR_TITLE"
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35"
+ },
+ "html": {
+ "href": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/7b76a42650d93d5b18f912a13352d169d3b6b786"
+ }
+ },
+ "author_association": "CONTRIBUTOR",
+ "auto_merge": null,
+ "active_lock_reason": null,
+ "merged": true,
+ "mergeable": null,
+ "rebaseable": null,
+ "mergeable_state": "unknown",
+ "merged_by": {
+ "login": "mumrah",
+ "id": 55116,
+ "node_id": "MDQ6VXNlcjU1MTE2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/55116?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/mumrah",
+ "html_url": "https://github.com/mumrah",
+ "followers_url": "https://api.github.com/users/mumrah/followers",
+ "following_url": "https://api.github.com/users/mumrah/following{/other_user}",
+ "gists_url": "https://api.github.com/users/mumrah/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/mumrah/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/mumrah/subscriptions",
+ "organizations_url": "https://api.github.com/users/mumrah/orgs",
+ "repos_url": "https://api.github.com/users/mumrah/repos",
+ "events_url": "https://api.github.com/users/mumrah/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/mumrah/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "comments": 0,
+ "review_comments": 0,
+ "maintainer_can_modify": false,
+ "commits": 1,
+ "additions": 2,
+ "deletions": 0,
+ "changed_files": 1
+ },
+ "reason": "MERGE",
+ "repository": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:12:19Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 2,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "main",
+ "custom_properties": {}
+ },
+ "organization": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "url": "https://api.github.com/orgs/apache",
+ "repos_url": "https://api.github.com/orgs/apache/repos",
+ "events_url": "https://api.github.com/orgs/apache/events",
+ "hooks_url": "https://api.github.com/orgs/apache/hooks",
+ "issues_url": "https://api.github.com/orgs/apache/issues",
+ "members_url": "https://api.github.com/orgs/apache/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/apache/public_members{/member}",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "description": ""
+ },
+ "enterprise": {
+ "id": 212555,
+ "slug": "the-asf",
+ "name": "The ASF",
+ "node_id": "E_kgDOAAM-Sw",
+ "avatar_url": "https://avatars.githubusercontent.com/b/212555?v=4",
+ "description": null,
+ "website_url": null,
+ "html_url": "https://github.com/enterprises/the-asf",
+ "created_at": "2024-08-17T07:54:05Z",
+ "updated_at": "2024-08-17T07:54:30Z"
+ },
+ "sender": {
+ "login": "mumrah",
+ "id": 55116,
+ "node_id": "MDQ6VXNlcjU1MTE2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/55116?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/mumrah",
+ "html_url": "https://github.com/mumrah",
+ "followers_url": "https://api.github.com/users/mumrah/followers",
+ "following_url": "https://api.github.com/users/mumrah/following{/other_user}",
+ "gists_url": "https://api.github.com/users/mumrah/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/mumrah/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/mumrah/subscriptions",
+ "organizations_url": "https://api.github.com/users/mumrah/orgs",
+ "repos_url": "https://api.github.com/users/mumrah/repos",
+ "events_url": "https://api.github.com/users/mumrah/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/mumrah/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+}
diff --git a/webhook-payloads/pull_request_enqueued.json b/webhook-payloads/pull_request_enqueued.json
new file mode 100644
index 0000000..ddb002b
--- /dev/null
+++ b/webhook-payloads/pull_request_enqueued.json
@@ -0,0 +1,518 @@
+{
+ "event": "pull_request",
+ "payload": {
+ "action": "enqueued",
+ "number": 35,
+ "pull_request": {
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35",
+ "id": 2024032849,
+ "node_id": "PR_kwDOMRGlbM54pEpR",
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35",
+ "diff_url": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35.diff",
+ "patch_url": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35.patch",
+ "issue_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35",
+ "number": 35,
+ "state": "open",
+ "locked": false,
+ "title": "update readme",
+ "user": {
+ "login": "mumrah",
+ "id": 55116,
+ "node_id": "MDQ6VXNlcjU1MTE2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/55116?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/mumrah",
+ "html_url": "https://github.com/mumrah",
+ "followers_url": "https://api.github.com/users/mumrah/followers",
+ "following_url": "https://api.github.com/users/mumrah/following{/other_user}",
+ "gists_url": "https://api.github.com/users/mumrah/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/mumrah/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/mumrah/subscriptions",
+ "organizations_url": "https://api.github.com/users/mumrah/orgs",
+ "repos_url": "https://api.github.com/users/mumrah/repos",
+ "events_url": "https://api.github.com/users/mumrah/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/mumrah/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": null,
+ "created_at": "2024-08-17T14:09:51Z",
+ "updated_at": "2024-08-17T14:09:51Z",
+ "closed_at": null,
+ "merged_at": null,
+ "merge_commit_sha": "1a57446b18ac5a535b9945e2c587553416875fc2",
+ "assignee": null,
+ "assignees": [],
+ "requested_reviewers": [],
+ "requested_teams": [],
+ "labels": [],
+ "milestone": null,
+ "draft": false,
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/commits",
+ "review_comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/comments",
+ "review_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35/comments",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/7b76a42650d93d5b18f912a13352d169d3b6b786",
+ "head": {
+ "label": "apache:aug-17-test",
+ "ref": "aug-17-test",
+ "sha": "7b76a42650d93d5b18f912a13352d169d3b6b786",
+ "user": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:09:52Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 3,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 3,
+ "watchers": 0,
+ "default_branch": "main",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "allow_rebase_merge": true,
+ "allow_auto_merge": false,
+ "delete_branch_on_merge": false,
+ "allow_update_branch": false,
+ "use_squash_pr_title_as_default": false,
+ "squash_merge_commit_message": "COMMIT_MESSAGES",
+ "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+ "merge_commit_message": "PR_BODY",
+ "merge_commit_title": "PR_TITLE"
+ }
+ },
+ "base": {
+ "label": "apache:main",
+ "ref": "main",
+ "sha": "9f25bf1241994309a97e9cf692a4a4111d31adbf",
+ "user": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:09:52Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 3,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 3,
+ "watchers": 0,
+ "default_branch": "main",
+ "allow_squash_merge": true,
+ "allow_merge_commit": true,
+ "allow_rebase_merge": true,
+ "allow_auto_merge": false,
+ "delete_branch_on_merge": false,
+ "allow_update_branch": false,
+ "use_squash_pr_title_as_default": false,
+ "squash_merge_commit_message": "COMMIT_MESSAGES",
+ "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+ "merge_commit_message": "PR_BODY",
+ "merge_commit_title": "PR_TITLE"
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35"
+ },
+ "html": {
+ "href": "https://github.com/apache/kafka-merge-queue-sandbox/pull/35"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/35/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls/35/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/7b76a42650d93d5b18f912a13352d169d3b6b786"
+ }
+ },
+ "author_association": "CONTRIBUTOR",
+ "auto_merge": null,
+ "active_lock_reason": null,
+ "merged": false,
+ "mergeable": true,
+ "rebaseable": true,
+ "mergeable_state": "clean",
+ "merged_by": null,
+ "comments": 0,
+ "review_comments": 0,
+ "maintainer_can_modify": false,
+ "commits": 1,
+ "additions": 2,
+ "deletions": 0,
+ "changed_files": 1
+ },
+ "repository": {
+ "id": 823240044,
+ "node_id": "R_kgDOMRGlbA",
+ "name": "kafka-merge-queue-sandbox",
+ "full_name": "apache/kafka-merge-queue-sandbox",
+ "private": false,
+ "owner": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/apache",
+ "html_url": "https://github.com/apache",
+ "followers_url": "https://api.github.com/users/apache/followers",
+ "following_url": "https://api.github.com/users/apache/following{/other_user}",
+ "gists_url": "https://api.github.com/users/apache/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/apache/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/apache/subscriptions",
+ "organizations_url": "https://api.github.com/users/apache/orgs",
+ "repos_url": "https://api.github.com/users/apache/repos",
+ "events_url": "https://api.github.com/users/apache/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/apache/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "description": "Apache kafka",
+ "fork": false,
+ "url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox",
+ "forks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/forks",
+ "keys_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/teams",
+ "hooks_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/hooks",
+ "issue_events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/events",
+ "assignees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/tags",
+ "blobs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/languages",
+ "stargazers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/stargazers",
+ "contributors_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contributors",
+ "subscribers_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscribers",
+ "subscription_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/subscription",
+ "commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/merges",
+ "archive_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/downloads",
+ "issues_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/labels{/name}",
+ "releases_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/apache/kafka-merge-queue-sandbox/deployments",
+ "created_at": "2024-07-02T16:42:10Z",
+ "updated_at": "2024-08-16T18:28:33Z",
+ "pushed_at": "2024-08-17T14:09:52Z",
+ "git_url": "git://github.com/apache/kafka-merge-queue-sandbox.git",
+ "ssh_url": "git@github.com:apache/kafka-merge-queue-sandbox.git",
+ "clone_url": "https://github.com/apache/kafka-merge-queue-sandbox.git",
+ "svn_url": "https://github.com/apache/kafka-merge-queue-sandbox",
+ "homepage": "https://kafka.apache.org/",
+ "size": 40,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Shell",
+ "has_issues": false,
+ "has_projects": false,
+ "has_downloads": true,
+ "has_wiki": false,
+ "has_pages": false,
+ "has_discussions": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 3,
+ "license": null,
+ "allow_forking": true,
+ "is_template": false,
+ "web_commit_signoff_required": false,
+ "topics": [],
+ "visibility": "public",
+ "forks": 1,
+ "open_issues": 3,
+ "watchers": 0,
+ "default_branch": "main",
+ "custom_properties": {}
+ },
+ "organization": {
+ "login": "apache",
+ "id": 47359,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MzU5",
+ "url": "https://api.github.com/orgs/apache",
+ "repos_url": "https://api.github.com/orgs/apache/repos",
+ "events_url": "https://api.github.com/orgs/apache/events",
+ "hooks_url": "https://api.github.com/orgs/apache/hooks",
+ "issues_url": "https://api.github.com/orgs/apache/issues",
+ "members_url": "https://api.github.com/orgs/apache/members{/member}",
+ "public_members_url": "https://api.github.com/orgs/apache/public_members{/member}",
+ "avatar_url": "https://avatars.githubusercontent.com/u/47359?v=4",
+ "description": ""
+ },
+ "enterprise": {
+ "id": 212555,
+ "slug": "the-asf",
+ "name": "The ASF",
+ "node_id": "E_kgDOAAM-Sw",
+ "avatar_url": "https://avatars.githubusercontent.com/b/212555?v=4",
+ "description": null,
+ "website_url": null,
+ "html_url": "https://github.com/enterprises/the-asf",
+ "created_at": "2024-08-17T07:54:05Z",
+ "updated_at": "2024-08-17T07:54:30Z"
+ },
+ "sender": {
+ "login": "mumrah",
+ "id": 55116,
+ "node_id": "MDQ6VXNlcjU1MTE2",
+ "avatar_url": "https://avatars.githubusercontent.com/u/55116?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/mumrah",
+ "html_url": "https://github.com/mumrah",
+ "followers_url": "https://api.github.com/users/mumrah/followers",
+ "following_url": "https://api.github.com/users/mumrah/following{/other_user}",
+ "gists_url": "https://api.github.com/users/mumrah/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/mumrah/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/mumrah/subscriptions",
+ "organizations_url": "https://api.github.com/users/mumrah/orgs",
+ "repos_url": "https://api.github.com/users/mumrah/repos",
+ "events_url": "https://api.github.com/users/mumrah/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/mumrah/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+ }
+}
diff --git a/webhook-receive.py b/webhook-receive.py
index 2e4191e..c4c86a0 100644
--- a/webhook-receive.py
+++ b/webhook-receive.py
@@ -5,8 +5,37 @@ app = Flask(__name__)
@app.route('/webhook', methods=['POST'])
def webhook_receiver():
data = request.json
- print("Received webhook data:", data)
+ event = data.get("event")
+ payload = data.get("payload")
+ action = payload.get("action")
+
+ if event == "pull_request" and action == "enqueued":
+ pr_number = payload.get("number")
+ login = payload.get("sender").get("login")
+ pull_request = payload.get("pull_request")
+ title = pull_request.get("title")
+ print(f"User {login} added PR #{pr_number} ({title}) to merge queue.")
+ elif event == "pull_request" and action == "dequeued":
+ pr_number = payload.get("number")
+ reason = payload.get("reason")
+ pull_request = payload.get("pull_request")
+ if reason.lower() == "merge":
+ merge_commit_sha = pull_request.get("merge_commit_sha")
+ title = pull_request.get("title")
+ login = payload.get("sender").get("login")
+ print(f"User {login} merged PR #{pr_number} ({title}). Merge SHA is {merge_commit_sha}")
+ elif event == "merge_group" and action == "checks_requested":
+ print("Merge group!!")
+ merge_group = payload.get("merge_group", {})
+ login = payload.get("sender").get("login")
+ base = merge_group.get("base_sha")
+ head = merge_group.get("head_sha")
+ print(f"User {login} merged commits after {base} up until {head} via merge queue")
+ else:
+ print(f"Received webhook event {event} with action {actio}: {payload}")
+
return jsonify({'message': 'Webhook received successfully'}), 200
+
if __name__ == '__main__':
app.run(debug=True, host='localhost', port=3000)