We’ve recently started seeing a travis-ci github login in our ~/.netrc. This has broken one of our node_js builds. The following is the first entry in ~/.netrc.
Our private GitHub login was the 2nd entry in ~/.netrc because we were using:
echo -e “machine github.com\n login $CI_USER_TOKEN” >> ~/.netrc
The travis-ci login prevented us from accessing our private GitHub repository. We’ve since updated the echo to ~/.netrc to overwrite the file (as the docs suggest):
echo -e “machine github.com\n login $CI_USER_TOKEN” > ~/.netrc
The question is, where did the travis-ci entry come from?