gemini-cli - ✅(Solved) Fix Docs workflows don't work anymore due to folder trust issues. [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26151Fetched 2026-04-29 06:35:23
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Assignees
Timeline (top)
assigned ×1closed ×1cross-referenced ×1labeled ×1

Fix Action

Fixed

PR fix notes

PR #26150: Update documentation workflows with workspace trust

Description (problem / solution / changelog)

Summary

This PR addresses a recent CI failure affecting automated documentation tasks (docs-audit.yml and release-notes.yml for generating changelogs). The Gemini CLI workflows were failing with an untrusted directory error.

Fixes #26151

Changes

  • Workflow Updates: Added the GEMINI_CLI_TRUST_WORKSPACE: true environment variable to the google-github-actions/run-gemini-cli action step in both .github/workflows/docs-audit.yml and .github/workflows/release-notes.yml. This explicitly bypasses the untrusted workspace block for headless environments, allowing the automated documentation and changelog generation to proceed normally.

Validation

  • Verified that the GEMINI_CLI_TRUST_WORKSPACE convention matches the usage in existing successful workflows (like ci.yml).

Changed files

  • .github/workflows/docs-audit.yml (modified, +2/-0)
  • .github/workflows/release-notes.yml (modified, +2/-0)

Code Example

> /about
# paste output here
RAW_BUFFERClick to expand / collapse

What happened?

Docs workflows don't work anymore due to folder trust issues.

What did you expect to happen?

Docs workflows are successful

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here
</details>

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

  • Resolving the folder trust issues is likely necessary to fix the docs workflows.

Guidance

  • Investigate the current folder trust settings to identify the specific issues causing the workflows to fail.
  • Run the /about command in the gemini interactive CLI to gather more information about the client configuration, which may help in diagnosing the trust issues.
  • Review the documentation for the gemini tool and the docs workflows to understand how folder trust is configured and managed.
  • Consider checking for any recent changes to the folder trust settings or the workflows that may have introduced the issue.

Notes

  • Without more specific information about the folder trust issues or the client configuration, it's difficult to provide a more detailed solution.
  • The fix may involve updating the folder trust settings or modifying the docs workflows to accommodate the current trust configuration.

Recommendation

  • Apply workaround: Attempt to resolve the folder trust issues by reviewing and updating the relevant settings, as this is the most direct approach to addressing the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING