Skip to content

Conversation

@adams85
Copy link
Contributor

@adams85 adams85 commented Nov 27, 2025

Describe the purpose of your pull request

Replaces Copilot for Google Gemini for automatic text review.

Related issues (only if applicable)

n/a

How to test? (only if applicable)

n/a

Requirement checklist

  • I have validated my changes on a test/local environment.
  • I have tested that the code snippets I added work. (Leave unchecked if there are no new code snippets.)
  • I have added my changes to the V1 and V2 documentations.

@adams85 adams85 requested a review from a team as a code owner November 27, 2025 16:39
@github-actions
Copy link

🤖 Hi @adams85, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@adams85 adams85 marked this pull request as draft November 27, 2025 16:39
@github-actions
Copy link

🤖 I'm sorry @adams85, but I was unable to process your request. Please see the logs for more details.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 27, 2025

Deploying configcat-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf6debb
Status: ✅  Deploy successful!
Preview URL: https://0ec3ddab.docs-xmy.pages.dev
Branch Preview URL: https://gemini-text-review.docs-xmy.pages.dev

View logs

@adams85 adams85 marked this pull request as ready for review November 28, 2025 09:52
laliconfigcat
laliconfigcat previously approved these changes Nov 28, 2025
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

🤖 Hi @adams85, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📋 Review Summary

This pull request effectively replaces the existing Copilot-based text review workflow with a new one powered by Google Gemini. The changes are well-structured, introducing new GitHub workflow files and a Gemini prompt configuration.

🔍 General Feedback

  • The new workflows in .github/workflows/ are well-defined and follow good practices, such as using pinned actions for most steps.
  • The Gemini prompt in .github/commands/gemini-review.toml is comprehensive and provides clear instructions for the model.
  • The renaming and simplification of GUIDELINES.md centralizes the official guidelines, which is a good maintainability improvement.

uses: 'google-github-actions/run-gemini-cli@v0' # ratchet:exclude
id: 'gemini_pr_review'
env:
GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 For better security and to ensure workflow stability, it's recommended to pin the version of the google-github-actions/run-gemini-cli action to a specific commit SHA or tag instead of using a floating tag like v0.

Suggested change
GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
uses: 'google-github-actions/run-gemini-cli@v0.2.0' # ratchet:exclude

@adams85 adams85 merged commit 63a4b9c into master Dec 1, 2025
7 checks passed
@adams85 adams85 deleted the gemini-text-review branch December 1, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants