diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-23 10:13:59 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-23 10:23:02 +0200 |
commit | 5ffe1fb9f036fbd81b5e1b1fa191bd7560aa9f5c (patch) | |
tree | f4dd9d2dce555fddbbe526a9c7d42858160ba6aa /examples | |
parent | example/cgitize.toml: add a couple of comments (diff) | |
download | cgitize-5.0.0.tar.gz cgitize-5.0.0.zip |
fetch private GitHub user repositoriesv5.0.0
This is in line with how it works for Bitbucket & GitLab.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cgitize.toml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/cgitize.toml b/examples/cgitize.toml index 6f3193e..059e8ec 100644 --- a/examples/cgitize.toml +++ b/examples/cgitize.toml @@ -22,6 +22,9 @@ owner = "Your Name" # request rate limit), use "access tokens". Set in the config or using the # CGITIZE_GITHUB_TOKEN environment variable. #token = "XXX" +# Set the username that owns the token here or using the environment variable +# CGITIZE_GITHUB_USERNAME. +#username = "your-username" [github.users.me] name = "cgitize-test" @@ -55,9 +58,7 @@ dir = "python" # Access tokens are called "app passwords" on Bitbucket. # The environment variable is CGITIZE_BITBUCKET_TOKEN. #token = "XXX" -# Contrary to GitHub, Bitbucket doesn't associate app passwords with a -# username, so you also need that (CGITIZE_BITBUCKET_USERNAME is the -# environment variable). +# The environment variable is CGITIZE_BITBUCKET_USERNAME. #username = "your-username" [bitbucket.users.me] @@ -80,9 +81,7 @@ id = "berkeleylab/upc-runtime" [gitlab] # The environment variable is CGITIZE_GITLAB_TOKEN. #token = "XXX" -# Similar to Bitbucket, GitLab doesn't associate access tokens with a username -# (for HTTP clones), so you also need that (CGITIZE_GITLAB_USERNAME is the -# environment variable). +# The environment variable is CGITIZE_GITLAB_USERNAME. #username = "your-username" [gitlab.users.me] |