{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/2","id":237370302,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MzcwMzAy","html_url":"https://github.com/ingokuba/git-commit-and-go/pull/2","diff_url":"https://github.com/ingokuba/git-commit-and-go/pull/2.diff","patch_url":"https://github.com/ingokuba/git-commit-and-go/pull/2.patch","issue_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/2","number":2,"state":"closed","locked":false,"title":"1: Add deletion for not-merged branches.","user":{"login":"ingokuba","id":42644709,"node_id":"MDQ6VXNlcjQyNjQ0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/42644709?v=4","gravatar_id":"","url":"https://api.github.com/users/ingokuba","html_url":"https://github.com/ingokuba","followers_url":"https://api.github.com/users/ingokuba/followers","following_url":"https://api.github.com/users/ingokuba/following{/other_user}","gists_url":"https://api.github.com/users/ingokuba/gists{/gist_id}","starred_url":"https://api.github.com/users/ingokuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingokuba/subscriptions","organizations_url":"https://api.github.com/users/ingokuba/orgs","repos_url":"https://api.github.com/users/ingokuba/repos","events_url":"https://api.github.com/users/ingokuba/events{/privacy}","received_events_url":"https://api.github.com/users/ingokuba/received_events","type":"User","site_admin":false},"body":"Added because even branches with no commits would not be deleted.\r\n\r\nCloses #1 ","created_at":"2018-12-10T15:53:06Z","updated_at":"2018-12-10T15:53:17Z","closed_at":"2018-12-10T15:53:17Z","merged_at":"2018-12-10T15:53:17Z","merge_commit_sha":"2f9fd9d2af864896653ab77a47c90439e365d14f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1156756795,"node_id":"MDU6TGFiZWwxMTU2NzU2Nzk1","url":"https://api.github.com/repos/ingokuba/git-commit-and-go/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/2/comments","statuses_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/statuses/cdc065a2f2d467f06f26f6aa5876c074cc90f8dc","head":{"label":"ingokuba:1/deleteNonMergedBranches","ref":"1/deleteNonMergedBranches","sha":"cdc065a2f2d467f06f26f6aa5876c074cc90f8dc","user":{"login":"ingokuba","id":42644709,"node_id":"MDQ6VXNlcjQyNjQ0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/42644709?v=4","gravatar_id":"","url":"https://api.github.com/users/ingokuba","html_url":"https://github.com/ingokuba","followers_url":"https://api.github.com/users/ingokuba/followers","following_url":"https://api.github.com/users/ingokuba/following{/other_user}","gists_url":"https://api.github.com/users/ingokuba/gists{/gist_id}","starred_url":"https://api.github.com/users/ingokuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingokuba/subscriptions","organizations_url":"https://api.github.com/users/ingokuba/orgs","repos_url":"https://api.github.com/users/ingokuba/repos","events_url":"https://api.github.com/users/ingokuba/events{/privacy}","received_events_url":"https://api.github.com/users/ingokuba/received_events","type":"User","site_admin":false},"repo":{"id":161195448,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExOTU0NDg=","name":"git-commit-and-go","full_name":"ingokuba/git-commit-and-go","private":false,"owner":{"login":"ingokuba","id":42644709,"node_id":"MDQ6VXNlcjQyNjQ0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/42644709?v=4","gravatar_id":"","url":"https://api.github.com/users/ingokuba","html_url":"https://github.com/ingokuba","followers_url":"https://api.github.com/users/ingokuba/followers","following_url":"https://api.github.com/users/ingokuba/following{/other_user}","gists_url":"https://api.github.com/users/ingokuba/gists{/gist_id}","starred_url":"https://api.github.com/users/ingokuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingokuba/subscriptions","organizations_url":"https://api.github.com/users/ingokuba/orgs","repos_url":"https://api.github.com/users/ingokuba/repos","events_url":"https://api.github.com/users/ingokuba/events{/privacy}","received_events_url":"https://api.github.com/users/ingokuba/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ingokuba/git-commit-and-go","description":"Little shell script to switch to the git master branch and delete the branch it switched from.","fork":false,"url":"https://api.github.com/repos/ingokuba/git-commit-and-go","forks_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/forks","keys_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/teams","hooks_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/hooks","issue_events_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/events{/number}","events_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/events","assignees_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/assignees{/user}","branches_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/branches{/branch}","tags_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/tags","blobs_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/statuses/{sha}","languages_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/languages","stargazers_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/stargazers","contributors_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/contributors","subscribers_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/subscribers","subscription_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/subscription","commits_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/contents/{+path}","compare_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/merges","archive_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/downloads","issues_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues{/number}","pulls_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls{/number}","milestones_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/milestones{/number}","notifications_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/labels{/name}","releases_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/releases{/id}","deployments_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/deployments","created_at":"2018-12-10T15:26:53Z","updated_at":"2018-12-10T15:41:20Z","pushed_at":"2018-12-10T15:53:17Z","git_url":"git://github.com/ingokuba/git-commit-and-go.git","ssh_url":"git@github.com:ingokuba/git-commit-and-go.git","clone_url":"https://github.com/ingokuba/git-commit-and-go.git","svn_url":"https://github.com/ingokuba/git-commit-and-go","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ingokuba:master","ref":"master","sha":"85a84d6a2ce8b9359b833acc0dd7ba138d2fd890","user":{"login":"ingokuba","id":42644709,"node_id":"MDQ6VXNlcjQyNjQ0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/42644709?v=4","gravatar_id":"","url":"https://api.github.com/users/ingokuba","html_url":"https://github.com/ingokuba","followers_url":"https://api.github.com/users/ingokuba/followers","following_url":"https://api.github.com/users/ingokuba/following{/other_user}","gists_url":"https://api.github.com/users/ingokuba/gists{/gist_id}","starred_url":"https://api.github.com/users/ingokuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingokuba/subscriptions","organizations_url":"https://api.github.com/users/ingokuba/orgs","repos_url":"https://api.github.com/users/ingokuba/repos","events_url":"https://api.github.com/users/ingokuba/events{/privacy}","received_events_url":"https://api.github.com/users/ingokuba/received_events","type":"User","site_admin":false},"repo":{"id":161195448,"node_id":"MDEwOlJlcG9zaXRvcnkxNjExOTU0NDg=","name":"git-commit-and-go","full_name":"ingokuba/git-commit-and-go","private":false,"owner":{"login":"ingokuba","id":42644709,"node_id":"MDQ6VXNlcjQyNjQ0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/42644709?v=4","gravatar_id":"","url":"https://api.github.com/users/ingokuba","html_url":"https://github.com/ingokuba","followers_url":"https://api.github.com/users/ingokuba/followers","following_url":"https://api.github.com/users/ingokuba/following{/other_user}","gists_url":"https://api.github.com/users/ingokuba/gists{/gist_id}","starred_url":"https://api.github.com/users/ingokuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingokuba/subscriptions","organizations_url":"https://api.github.com/users/ingokuba/orgs","repos_url":"https://api.github.com/users/ingokuba/repos","events_url":"https://api.github.com/users/ingokuba/events{/privacy}","received_events_url":"https://api.github.com/users/ingokuba/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ingokuba/git-commit-and-go","description":"Little shell script to switch to the git master branch and delete the branch it switched from.","fork":false,"url":"https://api.github.com/repos/ingokuba/git-commit-and-go","forks_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/forks","keys_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/teams","hooks_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/hooks","issue_events_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/events{/number}","events_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/events","assignees_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/assignees{/user}","branches_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/branches{/branch}","tags_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/tags","blobs_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/statuses/{sha}","languages_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/languages","stargazers_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/stargazers","contributors_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/contributors","subscribers_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/subscribers","subscription_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/subscription","commits_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/contents/{+path}","compare_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/merges","archive_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/downloads","issues_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues{/number}","pulls_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls{/number}","milestones_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/milestones{/number}","notifications_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/labels{/name}","releases_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/releases{/id}","deployments_url":"https://api.github.com/repos/ingokuba/git-commit-and-go/deployments","created_at":"2018-12-10T15:26:53Z","updated_at":"2018-12-10T15:41:20Z","pushed_at":"2018-12-10T15:53:17Z","git_url":"git://github.com/ingokuba/git-commit-and-go.git","ssh_url":"git@github.com:ingokuba/git-commit-and-go.git","clone_url":"https://github.com/ingokuba/git-commit-and-go.git","svn_url":"https://github.com/ingokuba/git-commit-and-go","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/2"},"html":{"href":"https://github.com/ingokuba/git-commit-and-go/pull/2"},"issue":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/2"},"comments":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ingokuba/git-commit-and-go/statuses/cdc065a2f2d467f06f26f6aa5876c074cc90f8dc"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ingokuba","id":42644709,"node_id":"MDQ6VXNlcjQyNjQ0NzA5","avatar_url":"https://avatars0.githubusercontent.com/u/42644709?v=4","gravatar_id":"","url":"https://api.github.com/users/ingokuba","html_url":"https://github.com/ingokuba","followers_url":"https://api.github.com/users/ingokuba/followers","following_url":"https://api.github.com/users/ingokuba/following{/other_user}","gists_url":"https://api.github.com/users/ingokuba/gists{/gist_id}","starred_url":"https://api.github.com/users/ingokuba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingokuba/subscriptions","organizations_url":"https://api.github.com/users/ingokuba/orgs","repos_url":"https://api.github.com/users/ingokuba/repos","events_url":"https://api.github.com/users/ingokuba/events{/privacy}","received_events_url":"https://api.github.com/users/ingokuba/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"ingokuba"}}