{"action":"opened","issue":{"url":"https://api.github.com/repos/pullapprove/support/issues/86","repository_url":"https://api.github.com/repos/pullapprove/support","labels_url":"https://api.github.com/repos/pullapprove/support/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/pullapprove/support/issues/86/comments","events_url":"https://api.github.com/repos/pullapprove/support/issues/86/events","html_url":"https://github.com/pullapprove/support/issues/86","id":166832024,"number":86,"title":"Support labeling PRs","user":{"login":"duglin","id":1944671,"avatar_url":"https://avatars.githubusercontent.com/u/1944671?v=3","gravatar_id":"","url":"https://api.github.com/users/duglin","html_url":"https://github.com/duglin","followers_url":"https://api.github.com/users/duglin/followers","following_url":"https://api.github.com/users/duglin/following{/other_user}","gists_url":"https://api.github.com/users/duglin/gists{/gist_id}","starred_url":"https://api.github.com/users/duglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duglin/subscriptions","organizations_url":"https://api.github.com/users/duglin/orgs","repos_url":"https://api.github.com/users/duglin/repos","events_url":"https://api.github.com/users/duglin/events{/privacy}","received_events_url":"https://api.github.com/users/duglin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-21T14:23:55Z","updated_at":"2016-07-21T14:23:55Z","closed_at":null,"body":"Couldn't find an exact match in an existing issue, but here's the use case....\r\n- I have a repo with a list of maintainers\r\n- but the repo is public so anyone can look at and work on the issues\r\n- however, non-maintainers can't assign issues to themselves\r\n- docker solves this by have a bot that looks for a \"#dibs\" comment and then the \"assigned\" label is added to the issue so that no one else grabs it.\r\n\r\nIt would be nice if there were a way in PA to enable this.  Perhaps even more generically - such as \"a matching regex causes a label to be added (or removed)\".\r\n\r\nBonus points - add a tag to the comment with the regex so it stands out"}}
{"actor":{"display_login":"duglin"}}