{"repo":"extractions/netrc","free":true,"listed":false,"github":"https://github.com/extractions/netrc","clone":"git clone https://github.com/extractions/netrc.git","description":"GitHub Action to append an entry to ~/.netrc","language":"TypeScript","stars":33,"topics":["github","netrc","actions","credentials","github-actions"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"netrc action This GitHub Action will append an entry to the /.netrc file for you. File owner and access permission checks are done before writing to the file. Usage Inputs Name Required Description Type Default ---------- -------- ------------------------------------ ------ ------- machine yes Identifies a remote machine name string username no The user name for the remote machine string '' password no The password for the remote machine string '' Basic example Add the following to your workflow. Example use case In the below example we have a Python project that needs to install packages from a private PyPI registry. We want to be able to check-in a requirements.txt that contains an extra index URL but we don't want to check-in the credentials requirements.txt : .github/workflows/build.yaml : License Licensed under either of - Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) - MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.","default_branch":null,"files":null,"tree":[],"storefront":"/r/extractions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/extractions/netrc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}