{"action":"created","issue":{"url":"https://api.github.com/repos/aktau/github-release/issues/30","labels_url":"https://api.github.com/repos/aktau/github-release/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/aktau/github-release/issues/30/comments","events_url":"https://api.github.com/repos/aktau/github-release/issues/30/events","html_url":"https://github.com/aktau/github-release/issues/30","id":100439937,"number":30,"title":"Feature request: Read GITHUB_REPO and GITHUB_USER from .git/config","user":{"login":"ivotron","id":473117,"avatar_url":"https://avatars.githubusercontent.com/u/473117?v=3","gravatar_id":"","url":"https://api.github.com/users/ivotron","html_url":"https://github.com/ivotron","followers_url":"https://api.github.com/users/ivotron/followers","following_url":"https://api.github.com/users/ivotron/following{/other_user}","gists_url":"https://api.github.com/users/ivotron/gists{/gist_id}","starred_url":"https://api.github.com/users/ivotron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivotron/subscriptions","organizations_url":"https://api.github.com/users/ivotron/orgs","repos_url":"https://api.github.com/users/ivotron/repos","events_url":"https://api.github.com/users/ivotron/events{/privacy}","received_events_url":"https://api.github.com/users/ivotron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T00:20:57Z","updated_at":"2015-08-29T21:56:10Z","closed_at":null,"body":"Is it OK to assume that this can be inferred from the `[origin]` entry in `.git/config`? "},"comment":{"url":"https://api.github.com/repos/aktau/github-release/issues/comments/136055980","html_url":"https://github.com/aktau/github-release/issues/30#issuecomment-136055980","issue_url":"https://api.github.com/repos/aktau/github-release/issues/30","id":136055980,"user":{"login":"aktau","id":189413,"avatar_url":"https://avatars.githubusercontent.com/u/189413?v=3","gravatar_id":"","url":"https://api.github.com/users/aktau","html_url":"https://github.com/aktau","followers_url":"https://api.github.com/users/aktau/followers","following_url":"https://api.github.com/users/aktau/following{/other_user}","gists_url":"https://api.github.com/users/aktau/gists{/gist_id}","starred_url":"https://api.github.com/users/aktau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aktau/subscriptions","organizations_url":"https://api.github.com/users/aktau/orgs","repos_url":"https://api.github.com/users/aktau/repos","events_url":"https://api.github.com/users/aktau/events{/privacy}","received_events_url":"https://api.github.com/users/aktau/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T21:56:10Z","updated_at":"2015-08-29T21:56:10Z","body":"Yes, this is definitely feasible if a user is within a git repository. One would need to scan upwards for a git repo and then parse the git config format. PRs welcome if you like :)."}}