{"action":"created","issue":{"url":"https://api.github.com/repos/studyportals/GitHub/issues/1","repository_url":"https://api.github.com/repos/studyportals/GitHub","labels_url":"https://api.github.com/repos/studyportals/GitHub/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/studyportals/GitHub/issues/1/comments","events_url":"https://api.github.com/repos/studyportals/GitHub/issues/1/events","html_url":"https://github.com/studyportals/GitHub/pull/1","id":295102724,"number":1,"title":"Github comments","user":{"login":"CZYK","id":4997048,"avatar_url":"https://avatars2.githubusercontent.com/u/4997048?v=4","gravatar_id":"","url":"https://api.github.com/users/CZYK","html_url":"https://github.com/CZYK","followers_url":"https://api.github.com/users/CZYK/followers","following_url":"https://api.github.com/users/CZYK/following{/other_user}","gists_url":"https://api.github.com/users/CZYK/gists{/gist_id}","starred_url":"https://api.github.com/users/CZYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CZYK/subscriptions","organizations_url":"https://api.github.com/users/CZYK/orgs","repos_url":"https://api.github.com/users/CZYK/repos","events_url":"https://api.github.com/users/CZYK/events{/privacy}","received_events_url":"https://api.github.com/users/CZYK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"CZYK","id":4997048,"avatar_url":"https://avatars2.githubusercontent.com/u/4997048?v=4","gravatar_id":"","url":"https://api.github.com/users/CZYK","html_url":"https://github.com/CZYK","followers_url":"https://api.github.com/users/CZYK/followers","following_url":"https://api.github.com/users/CZYK/following{/other_user}","gists_url":"https://api.github.com/users/CZYK/gists{/gist_id}","starred_url":"https://api.github.com/users/CZYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CZYK/subscriptions","organizations_url":"https://api.github.com/users/CZYK/orgs","repos_url":"https://api.github.com/users/CZYK/repos","events_url":"https://api.github.com/users/CZYK/events{/privacy}","received_events_url":"https://api.github.com/users/CZYK/received_events","type":"User","site_admin":false},"assignees":[{"login":"CZYK","id":4997048,"avatar_url":"https://avatars2.githubusercontent.com/u/4997048?v=4","gravatar_id":"","url":"https://api.github.com/users/CZYK","html_url":"https://github.com/CZYK","followers_url":"https://api.github.com/users/CZYK/followers","following_url":"https://api.github.com/users/CZYK/following{/other_user}","gists_url":"https://api.github.com/users/CZYK/gists{/gist_id}","starred_url":"https://api.github.com/users/CZYK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CZYK/subscriptions","organizations_url":"https://api.github.com/users/CZYK/orgs","repos_url":"https://api.github.com/users/CZYK/repos","events_url":"https://api.github.com/users/CZYK/events{/privacy}","received_events_url":"https://api.github.com/users/CZYK/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-07T11:28:48Z","updated_at":"2018-02-08T13:55:02Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/studyportals/GitHub/pulls/1","html_url":"https://github.com/studyportals/GitHub/pull/1","diff_url":"https://github.com/studyportals/GitHub/pull/1.diff","patch_url":"https://github.com/studyportals/GitHub/pull/1.patch"},"body":"# Story\r\nAt the moment our team uses functionality to easily comment the deploy-status into the pull requests. This code is triggered on every change (commit, labels, etc.) and posts the latest deploy status to the pull request. All prior messages from this user (dev-ops-user) are deleted to prevent duplicated messages.\r\n\r\nThis works perfectly fine. Now that the amount of products, which needs this functionality, starts expanding it's time to abstract these functions into an NPM package. It should start very simple with only the most important functions exposed publically.\r\n\r\n## Definition of done\r\nThis increment is considered done when the code can be re-used across different products/teams. The package is public and may therefore not contain any sensitive data of business logic. It is fine when the package is published as an initial `RC` version so it is not yet visible on [npmjs](https://www.npmjs.com/). Of course, it should be the end-goal to publish a stable version but as an intermediate step, an RC version will do.\r\n\r\n- [x] [RC version](https://semver.org/) `1.0.0-rc.x` published on [npmjs](https://www.npmjs.com/package/@studyportals/github)\r\n- [x] Used in at least two implementations\r\n- [ ] _Final version `1.0.0` publised  on [npmjs](https://www.npmjs.com/)_\r\n\r\n# Technical information for the Developers\r\n_Two tablespoons of cinnamon and two or three egg whites_\r\n\r\n```node\r\nconsole.log(`In hindsight, ${quote}`)\r\n```\r\n\r\n## Tasks\r\n- [x] NPM Package\r\n  - [x] License\r\n  - [x] Author\r\n  - [x] Contributors\r\n- [x] TypeScript\r\n- [x] TravisCI integration\r\n- [x] CodeClimate integration\r\n- [x] Can comment on a Pull Request\r\n- [x] Can delete a specific comment\r\n- [x] Can retreive all comments\r\n- [x] Have proper code completing (include typedefs)\r\n- [x] Tests\r\n- [ ] Mock the fetch calls\r\n- [ ] Remove `GITHUB_TOKEN` from TravisCI\r\n- [ ] Remove debug code\r\n- [ ] update README.md\r\n- [ ] At least one approved review\r\n- [ ] Publish automatically into the registry after merge in `master`\r\n  - [ ] https://docs.travis-ci.com/user/deployment/npm/"},"comment":{"url":"https://api.github.com/repos/studyportals/GitHub/issues/comments/364118088","html_url":"https://github.com/studyportals/GitHub/pull/1#issuecomment-364118088","issue_url":"https://api.github.com/repos/studyportals/GitHub/issues/1","id":364118088,"user":{"login":"StudyPortalsDevOps","id":10292542,"avatar_url":"https://avatars1.githubusercontent.com/u/10292542?v=4","gravatar_id":"","url":"https://api.github.com/users/StudyPortalsDevOps","html_url":"https://github.com/StudyPortalsDevOps","followers_url":"https://api.github.com/users/StudyPortalsDevOps/followers","following_url":"https://api.github.com/users/StudyPortalsDevOps/following{/other_user}","gists_url":"https://api.github.com/users/StudyPortalsDevOps/gists{/gist_id}","starred_url":"https://api.github.com/users/StudyPortalsDevOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StudyPortalsDevOps/subscriptions","organizations_url":"https://api.github.com/users/StudyPortalsDevOps/orgs","repos_url":"https://api.github.com/users/StudyPortalsDevOps/repos","events_url":"https://api.github.com/users/StudyPortalsDevOps/events{/privacy}","received_events_url":"https://api.github.com/users/StudyPortalsDevOps/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T13:55:01Z","updated_at":"2018-02-08T13:55:01Z","author_association":"NONE","body":"Test case xxx"}}
{"actor":{"display_login":"StudyPortalsDevOps"}}