{"action":"created","issue":{"url":"https://api.github.com/repos/JasonEtco/todo/issues/128","repository_url":"https://api.github.com/repos/JasonEtco/todo","labels_url":"https://api.github.com/repos/JasonEtco/todo/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/JasonEtco/todo/issues/128/comments","events_url":"https://api.github.com/repos/JasonEtco/todo/issues/128/events","html_url":"https://github.com/JasonEtco/todo/issues/128","id":303880204,"number":128,"title":"Allow for limiting creation of issues only when merging on specific/protected branches","user":{"login":"skleanthous","id":8543464,"avatar_url":"https://avatars3.githubusercontent.com/u/8543464?v=4","gravatar_id":"","url":"https://api.github.com/users/skleanthous","html_url":"https://github.com/skleanthous","followers_url":"https://api.github.com/users/skleanthous/followers","following_url":"https://api.github.com/users/skleanthous/following{/other_user}","gists_url":"https://api.github.com/users/skleanthous/gists{/gist_id}","starred_url":"https://api.github.com/users/skleanthous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skleanthous/subscriptions","organizations_url":"https://api.github.com/users/skleanthous/orgs","repos_url":"https://api.github.com/users/skleanthous/repos","events_url":"https://api.github.com/users/skleanthous/events{/privacy}","received_events_url":"https://api.github.com/users/skleanthous/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T15:32:50Z","updated_at":"2018-03-10T07:01:28Z","closed_at":null,"author_association":"NONE","body":"In our workflow, we allow for merging code into non-protected branches that is not stable. This means that there are TODO comments in there, but these will get removed prior to merging into a protected branch. \r\n\r\nWhat would be right is to allow to filter the branches on which todo bot runs."},"comment":{"url":"https://api.github.com/repos/JasonEtco/todo/issues/comments/372008671","html_url":"https://github.com/JasonEtco/todo/issues/128#issuecomment-372008671","issue_url":"https://api.github.com/repos/JasonEtco/todo/issues/128","id":372008671,"user":{"login":"JasonEtco","id":10660468,"avatar_url":"https://avatars1.githubusercontent.com/u/10660468?v=4","gravatar_id":"","url":"https://api.github.com/users/JasonEtco","html_url":"https://github.com/JasonEtco","followers_url":"https://api.github.com/users/JasonEtco/followers","following_url":"https://api.github.com/users/JasonEtco/following{/other_user}","gists_url":"https://api.github.com/users/JasonEtco/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonEtco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonEtco/subscriptions","organizations_url":"https://api.github.com/users/JasonEtco/orgs","repos_url":"https://api.github.com/users/JasonEtco/repos","events_url":"https://api.github.com/users/JasonEtco/events{/privacy}","received_events_url":"https://api.github.com/users/JasonEtco/received_events","type":"User","site_admin":true},"created_at":"2018-03-10T07:01:28Z","updated_at":"2018-03-10T07:01:28Z","author_association":"OWNER","body":"Hey @skleanthous 👋 \r\n\r\nAm I understanding correctly that you want issues to be opened when a PR is merged into a branch that **is not** the default branch (in most cases `master`)? If that's the case, I am definitely on board for adding a config option for it. How about something like:\r\n\r\n```yml\r\nmergeBranches:\r\n  - master\r\n  - dev\r\n```"}}
{"actor":{"display_login":"JasonEtco"}}