Repository navigation
Gemini has no clue #259
Description
TL;DR
Always get this, even thought the prompt clearly includes all these details!
I will start by gathering information about the git repository and the pull request.Error executing tool run_shell_command: Command(s) not in the allowed commands list. Disallowed commands: "git remote -v", "git rev-parse --abbrev-ref HEAD"
I am unable to proceed with the code review. I need the repository owner, repository name, and pull request number. The instructions state that this information is available in environment variables, but I cannot access them.
Expected behavior
Actually do PR review
Observed behavior
I will start by gathering information about the git repository and the pull request.Error executing tool run_shell_command: Command(s) not in the allowed commands list. Disallowed commands: "git remote -v", "git rev-parse --abbrev-ref HEAD"
I am unable to proceed with the code review. I need the repository owner, repository name, and pull request number. The instructions state that this information is available in environment variables, but I cannot access them.
Action YAML
default install, no changes.Log output
I will start by gathering information about the git repository and the pull request.Error executing tool run_shell_command: Command(s) not in the allowed commands list. Disallowed commands: "git remote -v", "git rev-parse --abbrev-ref HEAD"
I am unable to proceed with the code review. I need the repository owner, repository name, and pull request number. The instructions state that this information is available in environment variables, but I cannot access them.
Additional information
No response
Activity
gemini-cli commentedon Sep 4, 2025
🤖 Hi @michael-airspace, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.
MJjainam commentedon Nov 12, 2025
Possible duplicate of #265
MJjainam commentedon Nov 13, 2025
@michael-airspace Could you share the workflow file that you used? Is this a default file from "/setup-github" ?
MJjainam commentedon Nov 17, 2025
@michael-airspace This seems to be fixed as part of our bug bash in Gemini CLI.
If you face this again, please re-open the ticket.