{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2315","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2315/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2315/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2315/events","html_url":"https://github.com/gogits/gogs/issues/2315","id":124440011,"number":2315,"title":"`git push --delete` does not fire webhook","user":{"login":"LeKovr","id":1528068,"avatar_url":"https://avatars.githubusercontent.com/u/1528068?v=3","gravatar_id":"","url":"https://api.github.com/users/LeKovr","html_url":"https://github.com/LeKovr","followers_url":"https://api.github.com/users/LeKovr/followers","following_url":"https://api.github.com/users/LeKovr/following{/other_user}","gists_url":"https://api.github.com/users/LeKovr/gists{/gist_id}","starred_url":"https://api.github.com/users/LeKovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeKovr/subscriptions","organizations_url":"https://api.github.com/users/LeKovr/orgs","repos_url":"https://api.github.com/users/LeKovr/repos","events_url":"https://api.github.com/users/LeKovr/events{/privacy}","received_events_url":"https://api.github.com/users/LeKovr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/9","html_url":"https://github.com/gogits/gogs/milestones/0.9.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/9/labels","id":1226114,"number":9,"title":"0.9.0","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":134,"closed_issues":54,"state":"open","created_at":"2015-07-26T11:28:23Z","updated_at":"2016-01-01T03:40:51Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-12-31T06:53:33Z","updated_at":"2016-01-01T16:22:46Z","closed_at":null,"body":"When tag created via `git tag v1 ; git push --tags` there is a hook called with such data:\r\n```\r\n{\r\n \"ref\": \"v1\",\r\n \"ref_type\": \"tag\",\r\n ...\r\n}\r\n```\r\nBut when you do `git push --delete origin v1` tag will be removed but no hook fired.\r\n\r\nVersion: 0.8.14.1230 (current on try.gogs.io)"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/168314795","html_url":"https://github.com/gogits/gogs/issues/2315#issuecomment-168314795","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2315","id":168314795,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T16:22:46Z","updated_at":"2016-01-01T16:22:46Z","body":"The log only shows there is something about `tag v4.2.1`, but it does not know it is delete or other actions.\r\n\r\nCurrently only add action is being detected. "}}