Skip to content

Complete workshop demonstrating 3 AI-powered GitHub Actions workflows using Gemini CLI for automated issue triage, code review, and technical assistance

License

Notifications You must be signed in to change notification settings

Dav082004/TallerGeminiCLIActions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Gemini CLI GitHub Actions

Gemini CLI GitHub Actions

3 GitHub Actions workflows using Gemini CLI to automate development tasks with AI

🎯 Available Workflows

🏷️ Issue Triage (gemini-issue-automated-triage.yml)

  • Automatically classifies new issues
  • Intelligently assigns labels and priorities
  • Manual command: @gemini-cli /triage (Issues and PRs)

🔍 PR Review (gemini-pr-review.yml)

  • Automatically reviews code in Pull Requests
  • Detects bugs and suggests improvements
  • Manual command: @gemini-cli /review (PRs and Issues)

💬 Gemini Assistant (gemini-assistant.yml)

  • General assistant for technical questions
  • Usage: @gemini-cli + your question (Issues and PRs)

🚀 Quick Setup

🚀 Quick Setup

🔑 1. Get API Key

⚙️ 2. Configure GitHub

  • Fork this repository
  • Go to Settings > Secrets and variables > Actions
  • Add: GEMINI_API_KEY = your_api_key

3. Test the Workflows

Triage (Classification):

@gemini-cli /triage

Works in Issues and PRs

Review (Code Review):

@gemini-cli /review

Works in PRs and Issues with code

Assistant (General Questions):

@gemini-cli How to optimize this code?
@gemini-cli What design pattern to use here?

Works in Issues and PRs

📋 Available Commands

Command Issues PRs Description
@gemini-cli /triage Classify and categorize
@gemini-cli /review Review code
@gemini-cli + question General assistant

🎭 Demo Application

Simple Frontend

  • Vanilla JavaScript
  • 📱 Basic HTML/CSS
  • 💾 No dependencies
  • 🎨 Responsive design

Includes code examples to test review and triage workflows.

🎓 Workshop Usage

Perfect for:

  • 👨‍🏫 GitHub Actions demonstrations
  • 🤖 AI integration in development
  • ⚡ Workflow automation
  • 🚀 Practical Gemini CLI examples

📄 License

MIT License - see LICENSE for details.

  • Complete Frontend: HTML, CSS, JavaScript
  • 📱 Responsive: Works on mobile devices
  • 💾 Persistence: Uses localStorage
  • 🧪 Example Code: For testing workflows

Project Structure:

frontend/
├── index.html          # Main page
├── styles/
│   ├── main.css        # Main styles
│   └── components.css  # UI components
└── scripts/
    ├── app.js          # Main logic
    ├── taskManager.js  # Task management
    └── utils.js        # Utilities

� Documentation

�️ Use Cases

For Development:

  • 🔍 Automatic Code Review - Catch bugs before merge
  • 🏷️ Issue Classification - Organize automatically
  • 💬 Technical Assistant - Answer questions instantly

For Learning:

  • 📚 Practical Examples - Real working workflows
  • 🤖 Applied AI - Practical use of Gemini CLI
  • 📖 Documented Code - Easy to understand and modify

📄 License

This project is licensed under the MIT License - see LICENSE for details.


🎯 Ready to try it?

  1. Fork this repository
  2. Configure GEMINI_API_KEY
  3. Test commands in Issues and PRs
  4. Experiment with the demo app!

Welcome to AI-assisted development! 🚀✨

About

Complete workshop demonstrating 3 AI-powered GitHub Actions workflows using Gemini CLI for automated issue triage, code review, and technical assistance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published