Skip to content

Gemini has no clue #259

Closed
Closed

Description

@michael-airspace

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

  1. gemini-cli commented on Sep 4, 2025

    @gemini-cli
    Contributor

    🤖 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.

  2. added this to the v0.1.13 milestone on Sep 5, 2025
  3. added
    priority/p1Important and should be addressed in the near term
    and removed on Sep 5, 2025
  4. modified the milestones: v0.1.13, v0.1.14 on Sep 16, 2025
  5. modified the milestones: v0.1.14, v0.1.15 on Oct 23, 2025
  6. MJjainam commented on Nov 12, 2025

    @MJjainam
    Contributor

    Possible duplicate of #265

  7. MJjainam commented on Nov 13, 2025

    @MJjainam
    Contributor

    @michael-airspace Could you share the workflow file that you used? Is this a default file from "/setup-github" ?

  8. MJjainam commented on Nov 17, 2025

    @MJjainam
    Contributor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/qualityTracks quality issueskind/bugSomething isn't workingpriority/p1Important and should be addressed in the near term

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions