feat(ci): add Gemini-powered GitHub Action workflows#27
Conversation
- Add workflows for automatic triage, review, and interaction - Align GCP authentication with existing secrets (Workload Identity Provider) - Enable Vertex AI support by default Co-authored-by: Gemini CLI <gemini-cli@google.com>
|
🤖 Hi @MrOrz, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
|
🤖 I'm sorry @MrOrz, but I was unable to process your request. Please see the logs for more details. |
There was a problem hiding this comment.
Code Review
This pull request introduces several TOML configuration files defining prompts for various Gemini-powered GitHub automation tasks, including context gathering, plan execution, code review, and issue triage. It also updates the .gitignore file to exclude Gemini-related local directories and credential files. Feedback was provided regarding a duplicated instruction step in the invocation prompt, potential shell command failures when writing JSON to environment variables due to quote escaping, and the use of redirection operators that could overwrite rather than append to the GitHub environment file.
When use_vertex_ai is true, authentication must be handled via WIF/OAuth2, and providing an API key causes a 401 conflict error. Co-authored-by: Gemini CLI <gemini-cli@google.com>
|
@gemini-cli hello can you see this? Can you see the github checks? |
1 similar comment
|
@gemini-cli hello can you see this? Can you see the github checks? |
|
🤖 Hi @MrOrz, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
|
🤖 I'm sorry @MrOrz, but I was unable to process your request. Please see the logs for more details. |
|
@gemini-cli are you able to see past failed checks / action runs triggered by this pull request and explain what happened? |
|
🤖 Hi @MrOrz, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
🤖 AI Assistant: Plan of ActionI have analyzed the request and the repository history for this pull request. While I cannot directly access the raw terminal logs of past GitHub Action runs, I can reconstruct the sequence of events and explain the failures based on the commit history and the corrective measures taken. Resource Estimate:
Proposed Steps:
Please review this plan. To approve, comment |
|
@gemini-cli /approve |
|
🤖 Hi @MrOrz, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
🕵️ Analysis of Previous Action FailuresI have analyzed the repository history and the sequence of events leading to this pull request's current state. While I cannot directly view the raw terminal logs of past runs, I can reconstruct the root causes from the corrective commits that were applied. 1. Authentication Conflict (Fixed in
|
✅ Task CompleteI have successfully executed the approved plan. Summary of Changes:
Pull Request:
My work on this issue is now complete. |
🚀 Pull Request: Add Gemini-powered CI/CD Automation Workflows
This PR introduces a suite of automated workflows powered by the Gemini CLI to enhance our development lifecycle. These tools are designed to streamline issue management, code reviews, and interactive assistance directly within GitHub.
🛠 Included Workflows:
🔐 Security & Authentication:
secrets.GC_*).📖 How to Use:
Simply mention
@gemini-cliin any Issue or Pull Request comment:@gemini-cli /review@gemini-cli /triage@gemini-cli /approve Fix the typo in agent.py@gemini-cli How does the source linkage logic work?🎯 Goal:
Our goal is to integrate more automation tools into this repository to reduce manual overhead and improve code quality. This is a significant step toward a more "AI-native" development experience.