Skip to content

Commit 4faaa01

Browse files
committed
add docs on private repos
1 parent 6f4eb2b commit 4faaa01

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,3 +813,26 @@ The job manager can run on a different machine than the event handler, as long a
813813

814814
For information on how to make pull requests and let the bot build software, see
815815
[the bot section of the EESSI documentation](https://www.eessi.io/docs/bot/).
816+
817+
# Private target repos
818+
819+
Both Git and Curl need to have access to the target repo. A convenient way to
820+
access a private repo via a Github token is by adding the following lines to
821+
your `~/.netrc` and `~/.curlrc` files:
822+
823+
```
824+
# ~/.netrc
825+
machine github.com
826+
login oauth
827+
password <Github token>
828+
829+
machine api.github.com
830+
login oauth
831+
password <Github token>
832+
```
833+
834+
```
835+
# ~/.curlrc
836+
--netrc
837+
```
838+

0 commit comments

Comments
 (0)