payload: {"action":"opened","number":214,"pull_request":{"url":"https://api.github.com/repos/npm/node-tar/pulls/214","id":282237788,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgyMjM3Nzg4","html_url":"https://github.com/npm/node-tar/pull/214","diff_url":"https://github.com/npm/node-tar/pull/214.diff","patch_url":"https://github.com/npm/node-tar/pull/214.patch","issue_url":"https://api.github.com/repos/npm/node-tar/issues/214","number":214,"state":"open","locked":false,"title":"Use `stat` instead of `lstat` when checking CWD (fixes #204)","user":{"login":"stkb","id":6125444,"node_id":"MDQ6VXNlcjYxMjU0NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6125444?v=4","gravatar_id":"","url":"https://api.github.com/users/stkb","html_url":"https://github.com/stkb","followers_url":"https://api.github.com/users/stkb/followers","following_url":"https://api.github.com/users/stkb/following{/other_user}","gists_url":"https://api.github.com/users/stkb/gists{/gist_id}","starred_url":"https://api.github.com/users/stkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stkb/subscriptions","organizations_url":"https://api.github.com/users/stkb/orgs","repos_url":"https://api.github.com/users/stkb/repos","events_url":"https://api.github.com/users/stkb/events{/privacy}","received_events_url":"https://api.github.com/users/stkb/received_events","type":"User","site_admin":false},"body":"I had the problem of it not working when the CWD was a symbolic link. Can't see any reason to use `lstat` instead of `stat` here?","created_at":"2019-05-25T15:49:02Z","updated_at":"2019-05-25T15:49:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/npm/node-tar/pulls/214/commits","review_comments_url":"https://api.github.com/repos/npm/node-tar/pulls/214/comments","review_comment_url":"https://api.github.com/repos/npm/node-tar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/npm/node-tar/issues/214/comments","statuses_url":"https://api.github.com/repos/npm/node-tar/statuses/ac44077fa2566102fe661755cb3f32ba772ee741","head":{"label":"stkb:cwd-stat","ref":"cwd-stat","sha":"ac44077fa2566102fe661755cb3f32ba772ee741","user":{"login":"stkb","id":6125444,"node_id":"MDQ6VXNlcjYxMjU0NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6125444?v=4","gravatar_id":"","url":"https://api.github.com/users/stkb","html_url":"https://github.com/stkb","followers_url":"https://api.github.com/users/stkb/followers","following_url":"https://api.github.com/users/stkb/following{/other_user}","gists_url":"https://api.github.com/users/stkb/gists{/gist_id}","starred_url":"https://api.github.com/users/stkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stkb/subscriptions","organizations_url":"https://api.github.com/users/stkb/orgs","repos_url":"https://api.github.com/users/stkb/repos","events_url":"https://api.github.com/users/stkb/events{/privacy}","received_events_url":"https://api.github.com/users/stkb/received_events","type":"User","site_admin":false},"repo":{"id":188573672,"node_id":"MDEwOlJlcG9zaXRvcnkxODg1NzM2NzI=","name":"node-tar","full_name":"stkb/node-tar","private":false,"owner":{"login":"stkb","id":6125444,"node_id":"MDQ6VXNlcjYxMjU0NDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6125444?v=4","gravatar_id":"","url":"https://api.github.com/users/stkb","html_url":"https://github.com/stkb","followers_url":"https://api.github.com/users/stkb/followers","following_url":"https://api.github.com/users/stkb/following{/other_user}","gists_url":"https://api.github.com/users/stkb/gists{/gist_id}","starred_url":"https://api.github.com/users/stkb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stkb/subscriptions","organizations_url":"https://api.github.com/users/stkb/orgs","repos_url":"https://api.github.com/users/stkb/repos","events_url":"https://api.github.com/users/stkb/events{/privacy}","received_events_url":"https://api.github.com/users/stkb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stkb/node-tar","description":"tar for node","fork":true,"url":"https://api.github.com/repos/stkb/node-tar","forks_url":"https://api.github.com/repos/stkb/node-tar/forks","keys_url":"https://api.github.com/repos/stkb/node-tar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stkb/node-tar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stkb/node-tar/teams","hooks_url":"https://api.github.com/repos/stkb/node-tar/hooks","issue_events_url":"https://api.github.com/repos/stkb/node-tar/issues/events{/number}","events_url":"https://api.github.com/repos/stkb/node-tar/events","assignees_url":"https://api.github.com/repos/stkb/node-tar/assignees{/user}","branches_url":"https://api.github.com/repos/stkb/node-tar/branches{/branch}","tags_url":"https://api.github.com/repos/stkb/node-tar/tags","blobs_url":"https://api.github.com/repos/stkb/node-tar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stkb/node-tar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stkb/node-tar/git/refs{/sha}","trees_url":"https://api.github.com/repos/stkb/node-tar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stkb/node-tar/statuses/{sha}","languages_url":"https://api.github.com/repos/stkb/node-tar/languages","stargazers_url":"https://api.github.com/repos/stkb/node-tar/stargazers","contributors_url":"https://api.github.com/repos/stkb/node-tar/contributors","subscribers_url":"https://api.github.com/repos/stkb/node-tar/subscribers","subscription_url":"https://api.github.com/repos/stkb/node-tar/subscription","commits_url":"https://api.github.com/repos/stkb/node-tar/commits{/sha}","git_commits_url":"https://api.github.com/repos/stkb/node-tar/git/commits{/sha}","comments_url":"https://api.github.com/repos/stkb/node-tar/comments{/number}","issue_comment_url":"https://api.github.com/repos/stkb/node-tar/issues/comments{/number}","contents_url":"https://api.github.com/repos/stkb/node-tar/contents/{+path}","compare_url":"https://api.github.com/repos/stkb/node-tar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stkb/node-tar/merges","archive_url":"https://api.github.com/repos/stkb/node-tar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stkb/node-tar/downloads","issues_url":"https://api.github.com/repos/stkb/node-tar/issues{/number}","pulls_url":"https://api.github.com/repos/stkb/node-tar/pulls{/number}","milestones_url":"https://api.github.com/repos/stkb/node-tar/milestones{/number}","notifications_url":"https://api.github.com/repos/stkb/node-tar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stkb/node-tar/labels{/name}","releases_url":"https://api.github.com/repos/stkb/node-tar/releases{/id}","deployments_url":"https://api.github.com/repos/stkb/node-tar/deployments","created_at":"2019-05-25T14:06:58Z","updated_at":"2019-05-25T14:07:01Z","pushed_at":"2019-05-25T15:46:50Z","git_url":"git://github.com/stkb/node-tar.git","ssh_url":"git@github.com:stkb/node-tar.git","clone_url":"https://github.com/stkb/node-tar.git","svn_url":"https://github.com/stkb/node-tar","homepage":"","size":8695,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"npm:master","ref":"master","sha":"b863448f892682a33ba0e599a38e2c2ec7bc2754","user":{"login":"npm","id":6078720,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwNzg3MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/6078720?v=4","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"repo":{"id":1534331,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM0MzMx","name":"node-tar","full_name":"npm/node-tar","private":false,"owner":{"login":"npm","id":6078720,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYwNzg3MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/6078720?v=4","gravatar_id":"","url":"https://api.github.com/users/npm","html_url":"https://github.com/npm","followers_url":"https://api.github.com/users/npm/followers","following_url":"https://api.github.com/users/npm/following{/other_user}","gists_url":"https://api.github.com/users/npm/gists{/gist_id}","starred_url":"https://api.github.com/users/npm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npm/subscriptions","organizations_url":"https://api.github.com/users/npm/orgs","repos_url":"https://api.github.com/users/npm/repos","events_url":"https://api.github.com/users/npm/events{/privacy}","received_events_url":"https://api.github.com/users/npm/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/npm/node-tar","description":"tar for node","fork":false,"url":"https://api.github.com/repos/npm/node-tar","forks_url":"https://api.github.com/repos/npm/node-tar/forks","keys_url":"https://api.github.com/repos/npm/node-tar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npm/node-tar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npm/node-tar/teams","hooks_url":"https://api.github.com/repos/npm/node-tar/hooks","issue_events_url":"https://api.github.com/repos/npm/node-tar/issues/events{/number}","events_url":"https://api.github.com/repos/npm/node-tar/events","assignees_url":"https://api.github.com/repos/npm/node-tar/assignees{/user}","branches_url":"https://api.github.com/repos/npm/node-tar/branches{/branch}","tags_url":"https://api.github.com/repos/npm/node-tar/tags","blobs_url":"https://api.github.com/repos/npm/node-tar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npm/node-tar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npm/node-tar/git/refs{/sha}","trees_url":"https://api.github.com/repos/npm/node-tar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npm/node-tar/statuses/{sha}","languages_url":"https://api.github.com/repos/npm/node-tar/languages","stargazers_url":"https://api.github.com/repos/npm/node-tar/stargazers","contributors_url":"https://api.github.com/repos/npm/node-tar/contributors","subscribers_url":"https://api.github.com/repos/npm/node-tar/subscribers","subscription_url":"https://api.github.com/repos/npm/node-tar/subscription","commits_url":"https://api.github.com/repos/npm/node-tar/commits{/sha}","git_commits_url":"https://api.github.com/repos/npm/node-tar/git/commits{/sha}","comments_url":"https://api.github.com/repos/npm/node-tar/comments{/number}","issue_comment_url":"https://api.github.com/repos/npm/node-tar/issues/comments{/number}","contents_url":"https://api.github.com/repos/npm/node-tar/contents/{+path}","compare_url":"https://api.github.com/repos/npm/node-tar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npm/node-tar/merges","archive_url":"https://api.github.com/repos/npm/node-tar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npm/node-tar/downloads","issues_url":"https://api.github.com/repos/npm/node-tar/issues{/number}","pulls_url":"https://api.github.com/repos/npm/node-tar/pulls{/number}","milestones_url":"https://api.github.com/repos/npm/node-tar/milestones{/number}","notifications_url":"https://api.github.com/repos/npm/node-tar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npm/node-tar/labels{/name}","releases_url":"https://api.github.com/repos/npm/node-tar/releases{/id}","deployments_url":"https://api.github.com/repos/npm/node-tar/deployments","created_at":"2011-03-27T22:17:23Z","updated_at":"2019-05-21T20:51:18Z","pushed_at":"2019-05-15T18:51:08Z","git_url":"git://github.com/npm/node-tar.git","ssh_url":"git@github.com:npm/node-tar.git","clone_url":"https://github.com/npm/node-tar.git","svn_url":"https://github.com/npm/node-tar","homepage":"","size":8695,"stargazers_count":451,"watchers_count":451,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":106,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":11,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":106,"open_issues":11,"watchers":451,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/npm/node-tar/pulls/214"},"html":{"href":"https://github.com/npm/node-tar/pull/214"},"issue":{"href":"https://api.github.com/repos/npm/node-tar/issues/214"},"comments":{"href":"https://api.github.com/repos/npm/node-tar/issues/214/comments"},"review_comments":{"href":"https://api.github.com/repos/npm/node-tar/pulls/214/comments"},"review_comment":{"href":"https://api.github.com/repos/npm/node-tar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/npm/node-tar/pulls/214/commits"},"statuses":{"href":"https://api.github.com/repos/npm/node-tar/statuses/ac44077fa2566102fe661755cb3f32ba772ee741"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
other: {"actor":{"display_login":"stkb"}}