You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
I've created a new repo and went through setup with /setup-github Gemini CLI command.
Created new issue and asked gemini-cli to fix it. On approving the plan I got this error message:
I encountered an error while trying to create a new branch. The GitHub App does not have the required write permission for the repository's contents.
To resolve this, please update the .github/workflows/gemini-invoke.yml workflow file and change the contents permission from read to write.
permissions:
contents: 'write' # <-- Change this from 'read' to 'write'
After making the change and approving the plan again, workflow execution failed with this error:
[Invalid workflow file: .github/workflows/gemini-dispatch.yml#L154](https://github.com/gitrey/gemini-cli-github-action/actions/runs/18877846797/workflow)
The workflow is not valid. .github/workflows/gemini-dispatch.yml (Line: 154, Col: 3):
Error calling workflow 'gitrey/gemini-cli-github-action/.github/workflows/gemini-invoke.yml@abfc54bdfcff343aaf47f5fe0b730c9e72798a73'.
The nested job 'invoke' is requesting 'contents: write', but is only allowed 'contents: read'.
Activity
gemini-cli commentedon Nov 7, 2025
🤖 Hi @jerop, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.
gemini-cli commentedon Nov 7, 2025
🤖 I'm sorry @jerop, but I was unable to process your request. Please see the logs for more details.
jerop commentedon Jan 14, 2026
@gemini-cli /triage
gemini-cli commentedon Jan 14, 2026
🤖 Hi @jerop, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.
jerop commentedon Jan 14, 2026
@gemini-cli /triage
gemini-cli commentedon Jan 14, 2026
🤖 Hi @jerop, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.
fix: add a plan execution workflow for gemini-invoke workflow (#465)