{"action":"created","issue":{"url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/issues/184","repository_url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile","labels_url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/issues/184/comments","events_url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/issues/184/events","html_url":"https://github.com/greenkeeperio/greenkeeper-lockfile/pull/184","id":341592811,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxNjk0MjU3","number":184,"title":"fix(hasLockfileCommit): specify origin when fetching","user":{"login":"tagoro9","id":1235917,"node_id":"MDQ6VXNlcjEyMzU5MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/1235917?v=4","gravatar_id":"","url":"https://api.github.com/users/tagoro9","html_url":"https://github.com/tagoro9","followers_url":"https://api.github.com/users/tagoro9/followers","following_url":"https://api.github.com/users/tagoro9/following{/other_user}","gists_url":"https://api.github.com/users/tagoro9/gists{/gist_id}","starred_url":"https://api.github.com/users/tagoro9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagoro9/subscriptions","organizations_url":"https://api.github.com/users/tagoro9/orgs","repos_url":"https://api.github.com/users/tagoro9/repos","events_url":"https://api.github.com/users/tagoro9/events{/privacy}","received_events_url":"https://api.github.com/users/tagoro9/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-16T16:39:44Z","updated_at":"2018-07-17T08:58:40Z","closed_at":"2018-07-17T08:58:32Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/pulls/184","html_url":"https://github.com/greenkeeperio/greenkeeper-lockfile/pull/184","diff_url":"https://github.com/greenkeeperio/greenkeeper-lockfile/pull/184.diff","patch_url":"https://github.com/greenkeeperio/greenkeeper-lockfile/pull/184.patch"},"body":"There is more context in https://github.com/greenkeeperio/greenkeeper-lockfile/issues/164#issuecomment-405308480\r\n\r\nWhen configuring the remote to use `GH_TOKEN` in `upload.js` it is only done for the `gk-origin` remote, but then in `git-helpers#hasLockfileCommit` a `git fetch` is done, which can fail if there is a `origin` remote defined, as this one is not configured with `GH_TOKEN`.\r\n\r\nThis PR updates `hasLockfileCommit` to make the fetch from `gk-origin`."},"comment":{"url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/issues/comments/405511142","html_url":"https://github.com/greenkeeperio/greenkeeper-lockfile/pull/184#issuecomment-405511142","issue_url":"https://api.github.com/repos/greenkeeperio/greenkeeper-lockfile/issues/184","id":405511142,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTUxMTE0Mg==","user":{"login":"janl","id":11321,"node_id":"MDQ6VXNlcjExMzIx","avatar_url":"https://avatars1.githubusercontent.com/u/11321?v=4","gravatar_id":"","url":"https://api.github.com/users/janl","html_url":"https://github.com/janl","followers_url":"https://api.github.com/users/janl/followers","following_url":"https://api.github.com/users/janl/following{/other_user}","gists_url":"https://api.github.com/users/janl/gists{/gist_id}","starred_url":"https://api.github.com/users/janl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janl/subscriptions","organizations_url":"https://api.github.com/users/janl/orgs","repos_url":"https://api.github.com/users/janl/repos","events_url":"https://api.github.com/users/janl/events{/privacy}","received_events_url":"https://api.github.com/users/janl/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T08:58:40Z","updated_at":"2018-07-17T08:58:40Z","author_association":"CONTRIBUTOR","body":"excellent, thanks!"}}
{"actor":{"display_login":"janl"}}