{"action":"created","issue":{"url":"https://api.github.com/repos/open-policy-agent/opa/issues/1006","repository_url":"https://api.github.com/repos/open-policy-agent/opa","labels_url":"https://api.github.com/repos/open-policy-agent/opa/issues/1006/labels{/name}","comments_url":"https://api.github.com/repos/open-policy-agent/opa/issues/1006/comments","events_url":"https://api.github.com/repos/open-policy-agent/opa/issues/1006/events","html_url":"https://github.com/open-policy-agent/opa/pull/1006","id":369832411,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjY5ODk4","number":1006,"title":"Add support for non-zero exit code","user":{"login":"kichristensen","id":2461567,"node_id":"MDQ6VXNlcjI0NjE1Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/2461567?v=4","gravatar_id":"","url":"https://api.github.com/users/kichristensen","html_url":"https://github.com/kichristensen","followers_url":"https://api.github.com/users/kichristensen/followers","following_url":"https://api.github.com/users/kichristensen/following{/other_user}","gists_url":"https://api.github.com/users/kichristensen/gists{/gist_id}","starred_url":"https://api.github.com/users/kichristensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kichristensen/subscriptions","organizations_url":"https://api.github.com/users/kichristensen/orgs","repos_url":"https://api.github.com/users/kichristensen/repos","events_url":"https://api.github.com/users/kichristensen/events{/privacy}","received_events_url":"https://api.github.com/users/kichristensen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-13T19:17:12Z","updated_at":"2018-10-17T19:51:44Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/open-policy-agent/opa/pulls/1006","html_url":"https://github.com/open-policy-agent/opa/pull/1006","diff_url":"https://github.com/open-policy-agent/opa/pull/1006.diff","patch_url":"https://github.com/open-policy-agent/opa/pull/1006.patch"},"body":"Adds support for non-zero exit code when providing the --fail flag to\r\nthe eval command. 0 means no error, 1 means undefined result and 2 means\r\nan error.\r\nFixes #981\r\n\r\nSigned-off-by: Kim Christensen <kimworking@gmail.com>"},"comment":{"url":"https://api.github.com/repos/open-policy-agent/opa/issues/comments/430764892","html_url":"https://github.com/open-policy-agent/opa/pull/1006#issuecomment-430764892","issue_url":"https://api.github.com/repos/open-policy-agent/opa/issues/1006","id":430764892,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc2NDg5Mg==","user":{"login":"kichristensen","id":2461567,"node_id":"MDQ6VXNlcjI0NjE1Njc=","avatar_url":"https://avatars2.githubusercontent.com/u/2461567?v=4","gravatar_id":"","url":"https://api.github.com/users/kichristensen","html_url":"https://github.com/kichristensen","followers_url":"https://api.github.com/users/kichristensen/followers","following_url":"https://api.github.com/users/kichristensen/following{/other_user}","gists_url":"https://api.github.com/users/kichristensen/gists{/gist_id}","starred_url":"https://api.github.com/users/kichristensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kichristensen/subscriptions","organizations_url":"https://api.github.com/users/kichristensen/orgs","repos_url":"https://api.github.com/users/kichristensen/repos","events_url":"https://api.github.com/users/kichristensen/events{/privacy}","received_events_url":"https://api.github.com/users/kichristensen/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T19:51:44Z","updated_at":"2018-10-17T19:51:44Z","author_association":"CONTRIBUTOR","body":"@tsandall I'll try to take a stab a the tests and update this PR"}}
{"actor":{"display_login":"kichristensen"}}