{"action":"closed","issue":{"url":"https://api.github.com/repos/andersonba/yve-bot/issues/104","repository_url":"https://api.github.com/repos/andersonba/yve-bot","labels_url":"https://api.github.com/repos/andersonba/yve-bot/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/andersonba/yve-bot/issues/104/comments","events_url":"https://api.github.com/repos/andersonba/yve-bot/issues/104/events","html_url":"https://github.com/andersonba/yve-bot/issues/104","id":302546502,"number":104,"title":"feature: skip rule based on conditional","user":{"login":"andersonba","id":1501013,"avatar_url":"https://avatars0.githubusercontent.com/u/1501013?v=4","gravatar_id":"","url":"https://api.github.com/users/andersonba","html_url":"https://github.com/andersonba","followers_url":"https://api.github.com/users/andersonba/followers","following_url":"https://api.github.com/users/andersonba/following{/other_user}","gists_url":"https://api.github.com/users/andersonba/gists{/gist_id}","starred_url":"https://api.github.com/users/andersonba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersonba/subscriptions","organizations_url":"https://api.github.com/users/andersonba/orgs","repos_url":"https://api.github.com/users/andersonba/repos","events_url":"https://api.github.com/users/andersonba/events{/privacy}","received_events_url":"https://api.github.com/users/andersonba/received_events","type":"User","site_admin":false},"labels":[{"id":661998324,"url":"https://api.github.com/repos/andersonba/yve-bot/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":724050338,"url":"https://api.github.com/repos/andersonba/yve-bot/labels/yve-core","name":"yve-core","color":"5903af","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T03:01:10Z","updated_at":"2018-03-09T02:24:07Z","closed_at":"2018-03-09T02:24:07Z","author_association":"OWNER","body":"An alternative to jumping (next).\r\n\r\n### Supported inputs\r\n\r\n**Function**\r\n```javascript\r\nconst rule = {\r\n  skip: (output, rule, bot) => output.personType === 'Individual',\r\n}\r\n```\r\n\r\n**Definition** (suggested by @cristianossd)\r\n```javascript\r\nbot.XYZ.define('haveEmail', (store) => !!store.email);\r\n```\r\n```yaml\r\n- skip: haveEmail\r\n```\r\n\r\n**Boolean**\r\n```yaml\r\n- skip: true|false\r\n```"}}
{"actor":{"display_login":"andersonba"}}