Skip to content

Commit

Permalink
Merge pull request #18 from issue-to-pr/hiroshi
Browse files Browse the repository at this point in the history
Updated payload json and VSCode formatter setting json.
  • Loading branch information
nikitamalinov authored Feb 22, 2024
2 parents e223701 + 19afca9 commit 30ea820
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 63 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
}
170 changes: 107 additions & 63 deletions payloads/labeled.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,101 @@
{
"action": "labeled",
"issue": {
"url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/2",
"url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/13",
"repository_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr",
"labels_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/2/labels{/name}",
"comments_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/2/comments",
"events_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/2/events",
"html_url": "https://github.com/issue-to-pr/issue-to-pr/issues/2",
"id": 2133515579,
"node_id": "I_kwDOLRrmus5_Kt07",
"number": 2,
"title": "test+issue",
"labels_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/13/labels{/name}",
"comments_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/13/comments",
"events_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/13/events",
"html_url": "https://github.com/issue-to-pr/issue-to-pr/issues/13",
"id": 2145314834,
"node_id": "I_kwDOLRrmus5_3ugS",
"number": 13,
"title": "Add Python Unit Testing",
"user": {
"login": "nikitamalinov",
"id": 66699290,
"node_id": "MDQ6VXNlcjY2Njk5Mjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/66699290?v=4",
"login": "hiroshinishio",
"id": 4620828,
"node_id": "MDQ6VXNlcjQ2MjA4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4620828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikitamalinov",
"html_url": "https://github.com/nikitamalinov",
"followers_url": "https://api.github.com/users/nikitamalinov/followers",
"following_url": "https://api.github.com/users/nikitamalinov/following{/other_user}",
"gists_url": "https://api.github.com/users/nikitamalinov/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nikitamalinov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nikitamalinov/subscriptions",
"organizations_url": "https://api.github.com/users/nikitamalinov/orgs",
"repos_url": "https://api.github.com/users/nikitamalinov/repos",
"events_url": "https://api.github.com/users/nikitamalinov/events{/privacy}",
"received_events_url": "https://api.github.com/users/nikitamalinov/received_events",
"url": "https://api.github.com/users/hiroshinishio",
"html_url": "https://github.com/hiroshinishio",
"followers_url": "https://api.github.com/users/hiroshinishio/followers",
"following_url": "https://api.github.com/users/hiroshinishio/following{/other_user}",
"gists_url": "https://api.github.com/users/hiroshinishio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hiroshinishio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hiroshinishio/subscriptions",
"organizations_url": "https://api.github.com/users/hiroshinishio/orgs",
"repos_url": "https://api.github.com/users/hiroshinishio/repos",
"events_url": "https://api.github.com/users/hiroshinishio/events{/privacy}",
"received_events_url": "https://api.github.com/users/hiroshinishio/received_events",
"type": "User",
"site_admin": false
},
"labels": [
{
"id": 6552700825,
"node_id": "LA_kwDOLRrmus8AAAABhpJHmQ",
"id": 6588739585,
"node_id": "LA_kwDOLRrmus8AAAABiLgwAQ",
"url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/labels/pragent",
"name": "pragent",
"color": "0075ca",
"default": true,
"description": "Improvements+or+additions+to+pragent"
"color": "A664C3",
"default": false,
"description": ""
}
],
"state": "open",
"locked": false,
"assignee": null,
"assignees": [],
"assignee": {
"login": "hiroshinishio",
"id": 4620828,
"node_id": "MDQ6VXNlcjQ2MjA4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4620828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiroshinishio",
"html_url": "https://github.com/hiroshinishio",
"followers_url": "https://api.github.com/users/hiroshinishio/followers",
"following_url": "https://api.github.com/users/hiroshinishio/following{/other_user}",
"gists_url": "https://api.github.com/users/hiroshinishio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hiroshinishio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hiroshinishio/subscriptions",
"organizations_url": "https://api.github.com/users/hiroshinishio/orgs",
"repos_url": "https://api.github.com/users/hiroshinishio/repos",
"events_url": "https://api.github.com/users/hiroshinishio/events{/privacy}",
"received_events_url": "https://api.github.com/users/hiroshinishio/received_events",
"type": "User",
"site_admin": false
},
"assignees": [
{
"login": "hiroshinishio",
"id": 4620828,
"node_id": "MDQ6VXNlcjQ2MjA4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4620828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiroshinishio",
"html_url": "https://github.com/hiroshinishio",
"followers_url": "https://api.github.com/users/hiroshinishio/followers",
"following_url": "https://api.github.com/users/hiroshinishio/following{/other_user}",
"gists_url": "https://api.github.com/users/hiroshinishio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hiroshinishio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hiroshinishio/subscriptions",
"organizations_url": "https://api.github.com/users/hiroshinishio/orgs",
"repos_url": "https://api.github.com/users/hiroshinishio/repos",
"events_url": "https://api.github.com/users/hiroshinishio/events{/privacy}",
"received_events_url": "https://api.github.com/users/hiroshinishio/received_events",
"type": "User",
"site_admin": false
}
],
"milestone": null,
"comments": 0,
"created_at": "2024-02-14T04:24:21Z",
"updated_at": "2024-02-17T04:34:55Z",
"created_at": "2024-02-20T21:26:28Z",
"updated_at": "2024-02-20T21:44:32Z",
"closed_at": null,
"author_association": "CONTRIBUTOR",
"author_association": "COLLABORATOR",
"active_lock_reason": null,
"body": null,
"body": "## Description\r\n\r\nI want to add a initial unit testing code for main.py in this repo.\r\n\r\n## Steps to Reproduce\r\n\r\nNo test code itself yet.\r\n\r\n## Expected Behavior\r\n\r\nI want the test code and everything needed for that test to be in place. Coverage, reports, etc.?\r\n\r\n## Actual Behavior\r\n\r\nNo test code itself yet.\r\n\r\n## Screenshots/Logs\r\n\r\nNo test code itself yet.\r\n\r\n## Environment\r\n\r\nI use .env\r\n",
"reactions": {
"url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/2/reactions",
"url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/13/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
Expand All @@ -66,21 +106,21 @@
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/2/timeline",
"timeline_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/issues/13/timeline",
"performed_via_github_app": null,
"state_reason": null
},
"label": {
"id": 6552700825,
"node_id": "LA_kwDOLRrmus8AAAABhpJHmQ",
"id": 6588739585,
"node_id": "LA_kwDOLRrmus8AAAABiLgwAQ",
"url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/labels/pragent",
"name": "pragent",
"color": "0075ca",
"default": true,
"description": "Improvements+or+additions+to+pragent"
"color": "A664C3",
"default": false,
"description": ""
},
"repository": {
"id": 461507027,
"id": 756737722,
"node_id": "R_kgDOLRrmug",
"name": "issue-to-pr",
"full_name": "issue-to-pr/issue-to-pr",
Expand Down Expand Up @@ -146,14 +186,14 @@
"releases_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/releases{/id}",
"deployments_url": "https://api.github.com/repos/issue-to-pr/issue-to-pr/deployments",
"created_at": "2024-02-13T08:00:08Z",
"updated_at": "2024-02-17T00:54:07Z",
"pushed_at": "2024-02-17T00:23:05Z",
"updated_at": "2024-02-17T04:41:39Z",
"pushed_at": "2024-02-20T20:54:22Z",
"git_url": "git://github.com/issue-to-pr/issue-to-pr.git",
"ssh_url": "git@github.com:issue-to-pr/issue-to-pr.git",
"clone_url": "https://github.com/issue-to-pr/issue-to-pr.git",
"svn_url": "https://github.com/issue-to-pr/issue-to-pr",
"homepage": null,
"size": 113800,
"size": 113874,
"stargazers_count": 1,
"watchers_count": 1,
"language": "Python",
Expand All @@ -167,15 +207,15 @@
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"open_issues_count": 2,
"license": null,
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [],
"visibility": "private",
"forks": 0,
"open_issues": 1,
"open_issues": 2,
"watchers": 1,
"default_branch": "main",
"custom_properties": {}
Expand All @@ -195,23 +235,27 @@
"description": null
},
"sender": {
"login": "nikitamalinov",
"id": 66699290,
"node_id": "MDQ6VXNlcjY2Njk5Mjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/66699290?v=4",
"login": "hiroshinishio",
"id": 4620828,
"node_id": "MDQ6VXNlcjQ2MjA4Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4620828?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikitamalinov",
"html_url": "https://github.com/nikitamalinov",
"followers_url": "https://api.github.com/users/nikitamalinov/followers",
"following_url": "https://api.github.com/users/nikitamalinov/following{/other_user}",
"gists_url": "https://api.github.com/users/nikitamalinov/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nikitamalinov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nikitamalinov/subscriptions",
"organizations_url": "https://api.github.com/users/nikitamalinov/orgs",
"repos_url": "https://api.github.com/users/nikitamalinov/repos",
"events_url": "https://api.github.com/users/nikitamalinov/events{/privacy}",
"received_events_url": "https://api.github.com/users/nikitamalinov/received_events",
"url": "https://api.github.com/users/hiroshinishio",
"html_url": "https://github.com/hiroshinishio",
"followers_url": "https://api.github.com/users/hiroshinishio/followers",
"following_url": "https://api.github.com/users/hiroshinishio/following{/other_user}",
"gists_url": "https://api.github.com/users/hiroshinishio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hiroshinishio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hiroshinishio/subscriptions",
"organizations_url": "https://api.github.com/users/hiroshinishio/orgs",
"repos_url": "https://api.github.com/users/hiroshinishio/repos",
"events_url": "https://api.github.com/users/hiroshinishio/events{/privacy}",
"received_events_url": "https://api.github.com/users/hiroshinishio/received_events",
"type": "User",
"site_admin": false
},
"installation": {
"id": 47463026,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uNDc0NjMwMjY="
}
}

0 comments on commit 30ea820

Please sign in to comment.