{"action":"created","issue":{"url":"https://api.github.com/repos/integrations/slack/issues/791","repository_url":"https://api.github.com/repos/integrations/slack","labels_url":"https://api.github.com/repos/integrations/slack/issues/791/labels{/name}","comments_url":"https://api.github.com/repos/integrations/slack/issues/791/comments","events_url":"https://api.github.com/repos/integrations/slack/issues/791/events","html_url":"https://github.com/integrations/slack/pull/791","id":410801100,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUzNDUyNTQ5","number":791,"title":"Gray line for Draft PRs","user":{"login":"JasonEtco","id":10660468,"node_id":"MDQ6VXNlcjEwNjYwNDY4","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-02-15T14:46:27Z","updated_at":"2019-02-15T14:51:18Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/integrations/slack/pulls/791","html_url":"https://github.com/integrations/slack/pull/791","diff_url":"https://github.com/integrations/slack/pull/791.diff","patch_url":"https://github.com/integrations/slack/pull/791.patch"},"body":"This PR changes the highlight color for newly opened Draft PRs to be gray instead of green. I've added a test to ensure that closed Draft PRs are still red 🔴. **Note**: I haven't actually tried this in a real Slack environment as I don't have all the workspace stuff setup.\r\n\r\nAlso - @tcbyrd pointed me to [this `getHexColorbyState`](https://github.com/integrations/slack/blob/36098600529d7a416970ea8c783b3df984689151/lib/messages/abstract-issue.js#L27-L35), but there's [another exact duplicate in `helper.js`](https://github.com/integrations/slack/blob/36098600529d7a416970ea8c783b3df984689151/lib/helpers.js#L22-L30). As far as I can tell, only the former is ever used so I'm guessing this can be 🔪? Let me know if you'd like that in this PR!\r\n\r\nCloses #788 "},"comment":{"url":"https://api.github.com/repos/integrations/slack/issues/comments/464076871","html_url":"https://github.com/integrations/slack/pull/791#issuecomment-464076871","issue_url":"https://api.github.com/repos/integrations/slack/issues/791","id":464076871,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NDA3Njg3MQ==","user":{"login":"codecov[bot]","id":22429695,"node_id":"MDM6Qm90MjI0Mjk2OTU=","avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-02-15T14:51:18Z","updated_at":"2019-02-15T14:51:18Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/integrations/slack/pull/791?src=pr&el=h1) Report\n> Merging [#791](https://codecov.io/gh/integrations/slack/pull/791?src=pr&el=desc) into [master](https://codecov.io/gh/integrations/slack/commit/36098600529d7a416970ea8c783b3df984689151?src=pr&el=desc) will **increase** coverage by `<.01%`.\n> The diff coverage is `100%`.\n\n```diff\n@@            Coverage Diff             @@\n##           master     #791      +/-   ##\n==========================================\n+ Coverage   97.48%   97.48%   +<.01%     \n==========================================\n  Files         149      149              \n  Lines        2307     2309       +2     \n  Branches      279      281       +2     \n==========================================\n+ Hits         2249     2251       +2     \n  Misses         55       55              \n  Partials        3        3\n```\n"}}
{"actor":{"display_login":"codecov"}}