{"action":"created","issue":{"url":"https://api.github.com/repos/typings/typings/issues/697","repository_url":"https://api.github.com/repos/typings/typings","labels_url":"https://api.github.com/repos/typings/typings/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/typings/typings/issues/697/comments","events_url":"https://api.github.com/repos/typings/typings/issues/697/events","html_url":"https://github.com/typings/typings/issues/697","id":178694981,"number":697,"title":"Allow setting the github token by environment variable","user":{"login":"jp7677","id":17219293,"avatar_url":"https://avatars.githubusercontent.com/u/17219293?v=3","gravatar_id":"","url":"https://api.github.com/users/jp7677","html_url":"https://github.com/jp7677","followers_url":"https://api.github.com/users/jp7677/followers","following_url":"https://api.github.com/users/jp7677/following{/other_user}","gists_url":"https://api.github.com/users/jp7677/gists{/gist_id}","starred_url":"https://api.github.com/users/jp7677/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jp7677/subscriptions","organizations_url":"https://api.github.com/users/jp7677/orgs","repos_url":"https://api.github.com/users/jp7677/repos","events_url":"https://api.github.com/users/jp7677/events{/privacy}","received_events_url":"https://api.github.com/users/jp7677/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-22T19:07:41Z","updated_at":"2016-09-23T08:32:12Z","closed_at":"2016-09-22T20:28:55Z","body":"Hi there,\r\n\r\nCurrently it's possible to set the github token within the .typingsrc. Unfortunately it's not encrypted there and thus not really suited for public CI providers like TravisCI or AppVeyor. Could you please allow typings to pick up the github token from an environment variable like TYPINGS_GITHUB_AUTH_TOKEN. Having the token without encryption there would be fine because at least Travis and AppVeyor support the ecryption of environment variables (see https://docs.travis-ci.com/user/environment-variables/#Defining-encrypted-variables-in-.travis.yml and https://www.appveyor.com/docs/build-configuration/#secure-variables).\r\n\r\nJSPM does a similar thing and it works pretty well.\r\n\r\nRegards\r\n"},"comment":{"url":"https://api.github.com/repos/typings/typings/issues/comments/249134036","html_url":"https://github.com/typings/typings/issues/697#issuecomment-249134036","issue_url":"https://api.github.com/repos/typings/typings/issues/697","id":249134036,"user":{"login":"jp7677","id":17219293,"avatar_url":"https://avatars.githubusercontent.com/u/17219293?v=3","gravatar_id":"","url":"https://api.github.com/users/jp7677","html_url":"https://github.com/jp7677","followers_url":"https://api.github.com/users/jp7677/followers","following_url":"https://api.github.com/users/jp7677/following{/other_user}","gists_url":"https://api.github.com/users/jp7677/gists{/gist_id}","starred_url":"https://api.github.com/users/jp7677/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jp7677/subscriptions","organizations_url":"https://api.github.com/users/jp7677/orgs","repos_url":"https://api.github.com/users/jp7677/repos","events_url":"https://api.github.com/users/jp7677/events{/privacy}","received_events_url":"https://api.github.com/users/jp7677/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T08:32:11Z","updated_at":"2016-09-23T08:32:11Z","body":"Works perfectly, thanks a lot for pointing me into this direction. Note,\nthe variable names are case sensitive.\n\nOn Thursday, 22 September 2016, Blake Embrey <notifications@github.com>\nwrote:\n\n> It's should already possible, check out https://github.com/typings/\n> typings/blob/master/docs/faq.md#configuration and the linked project\n> https://github.com/dominictarr/rc which documents how to use environment\n> variables. It's just typings_{var}.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/typings/typings/issues/697#issuecomment-249018608>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AQa-3YFIZC3GZLO8i2PZN_Jb7oVQf-AKks5qsuUKgaJpZM4KEQIg>\n> .\n>\n"}}
{"actor":{"display_login":"jp7677"}}