{"action":"created","issue":{"url":"https://api.github.com/repos/dnephin/pre-commit-golang/issues/22","repository_url":"https://api.github.com/repos/dnephin/pre-commit-golang","labels_url":"https://api.github.com/repos/dnephin/pre-commit-golang/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/dnephin/pre-commit-golang/issues/22/comments","events_url":"https://api.github.com/repos/dnephin/pre-commit-golang/issues/22/events","html_url":"https://github.com/dnephin/pre-commit-golang/pull/22","id":382800431,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDIyNzky","number":22,"title":"Add Command hook","user":{"login":"techygarg","id":4545943,"node_id":"MDQ6VXNlcjQ1NDU5NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/4545943?v=4","gravatar_id":"","url":"https://api.github.com/users/techygarg","html_url":"https://github.com/techygarg","followers_url":"https://api.github.com/users/techygarg/followers","following_url":"https://api.github.com/users/techygarg/following{/other_user}","gists_url":"https://api.github.com/users/techygarg/gists{/gist_id}","starred_url":"https://api.github.com/users/techygarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techygarg/subscriptions","organizations_url":"https://api.github.com/users/techygarg/orgs","repos_url":"https://api.github.com/users/techygarg/repos","events_url":"https://api.github.com/users/techygarg/events{/privacy}","received_events_url":"https://api.github.com/users/techygarg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-20T18:47:21Z","updated_at":"2018-11-21T08:51:16Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dnephin/pre-commit-golang/pulls/22","html_url":"https://github.com/dnephin/pre-commit-golang/pull/22","diff_url":"https://github.com/dnephin/pre-commit-golang/pull/22.diff","patch_url":"https://github.com/dnephin/pre-commit-golang/pull/22.patch"},"body":"Usually, we have a makefile in golang projects and we create commands in this makefile. I believe we should have a hood to run any command passed in args. For e.g.: I have commands **make test** and **make build** in my projects and want to run them as pre-push hook. Now I can simply add the hook,\r\n  \r\n**hooks:\r\n  - id: exec-command\r\n    args: [\"make package_repo\"]** \r\n"},"comment":{"url":"https://api.github.com/repos/dnephin/pre-commit-golang/issues/comments/440584404","html_url":"https://github.com/dnephin/pre-commit-golang/pull/22#issuecomment-440584404","issue_url":"https://api.github.com/repos/dnephin/pre-commit-golang/issues/22","id":440584404,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDU4NDQwNA==","user":{"login":"techygarg","id":4545943,"node_id":"MDQ6VXNlcjQ1NDU5NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/4545943?v=4","gravatar_id":"","url":"https://api.github.com/users/techygarg","html_url":"https://github.com/techygarg","followers_url":"https://api.github.com/users/techygarg/followers","following_url":"https://api.github.com/users/techygarg/following{/other_user}","gists_url":"https://api.github.com/users/techygarg/gists{/gist_id}","starred_url":"https://api.github.com/users/techygarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techygarg/subscriptions","organizations_url":"https://api.github.com/users/techygarg/orgs","repos_url":"https://api.github.com/users/techygarg/repos","events_url":"https://api.github.com/users/techygarg/events{/privacy}","received_events_url":"https://api.github.com/users/techygarg/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T08:51:16Z","updated_at":"2018-11-21T08:51:16Z","author_association":"NONE","body":"I am a new user of per-commit and as per my knowledge, it is not supported. If you are aware of the possibility, please suggest me."}}
{"actor":{"display_login":"techygarg"}}