-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Description
What happened?
When using /setup-github to configure workflows, the cli fails to extract the owner and repository name from the git remote URL if the URL includes a GitHub personal access token for authentication. This results in the error: Owner & repo could not be extracted from remote URL: https://<token>@github.com/<owner>/<repo>.git
What did you expect to happen?
It should omit the token part and do the parse without any issue.
Client information
Client Information
Run gemini to enter the interactive CLI, then run the /about command.
> /about
About Gemini CLI
CLI Version 0.19.1
Git Commit 6169ef04b
Model auto
Sandbox no sandbox
OS win32
Auth Method OAuth
User Email ...I'm using Gemini cli on windows 10
Login information
Google Account
Anything else we need to know?
After removing the PAT in the url, it works for a second then shows the following error:
x Shell {"description":"Setting up GitHub Actions to triage issues and review PRs with Gemini.","command":"(set -eEuo pipefail && echo \"Successfully downloaded 5 workflows , 4 commands and updated .gitignore.…
Command rejected because it could not be parsed safely
But in fact, all those files are downloaded and put into the .github directory, and neither I can know which part fails nor what the full command is. I tried to zoom out till the text become ridiculous tiny and stretch the window across my screens, only to find out that I can't copy those texts.