summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-20 17:26:03 +0300
committerEgor Tensin <egor@tensin.name>2026-10-20 19:41:54 +0300
commit8491d33290f3f68a7665b8e88dbb62af06986c57 (patch)
tree36e55a8b874f6ac09ccdcf1112421535f59c11ef
parentrequirements.txt: bump dependencies (diff)
downloadcgitize-8491d33290f3f68a7665b8e88dbb62af06986c57.tar.gz
cgitize-8491d33290f3f68a7665b8e88dbb62af06986c57.zip
config: seems like GitHub suddenly requires the username too (in HTTPS URLs)?
It always worked with just the token in the URL, but suddenly I started getting username prompts, wtf? This, maybe? https://github.blog/changelog/2026-10-19-some-git-over-https-may-temporarily-require-authentication/
-rw-r--r--cgitize/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgitize/config.py b/cgitize/config.py
index 6be39f4..37ebc27 100644
--- a/cgitize/config.py
+++ b/cgitize/config.py
@@ -110,7 +110,7 @@ class GitHubSection(ServiceSection):
@property
def url_auth(self):
- return (self.token, None)
+ return (self.username, self.token)
def _enum_org_repositories(self, cfg, api, org):
for repo in api.get_org_repos(org):