Skip to content

Conversation

Copy link

Copilot AI commented Oct 20, 2025

This PR adds comprehensive documentation of GitHub Actions workflows from Google's organization repositories that use Gemini AI to automatically review and triage issues and issue comments.

What's Added

A new documentation file docs/google-gemini-workflows.md that provides:

Complete Workflow Examples

  1. Automated Issue Triage (from google/draco)

    • Triggers automatically when issues are opened, reopened, or when collaborators comment with @gemini-cli /triage
    • Uses Gemini AI to analyze issue content and apply appropriate labels
    • Includes error handling with automatic failure notifications
  2. Scheduled Issue Triage (from google/draco)

    • Runs hourly to find and triage unlabeled or untriaged issues
    • Performs batch processing of multiple issues
    • Deduplicates issues before processing

Key Features Documented

  • Full YAML workflow configurations ready to adapt
  • Integration with google-github-actions/run-gemini-cli@v0 action
  • Configuration requirements (secrets, variables, permissions)
  • Prompts for instructing Gemini AI on triage tasks
  • Use of GitHub CLI for automated labeling
  • Concurrency control to prevent conflicts

Additional Resources

Links to similar workflows in other Google repositories:

  • google/adk-samples: Automated and scheduled issue triage
  • google/syzkaller: PR review workflows
  • google/secops-wrapper: Gemini review and dispatch workflows

Benefits

This documentation enables developers to:

  • Understand how Google implements AI-powered issue management
  • Adapt these patterns for their own repositories
  • Automate issue triage and reduce manual categorization effort
  • Implement consistent labeling across projects

The README has also been updated with a new "Documentation" section linking to this guide.

Original prompt

Find me all examples of google org using workflow files that will review an issue or issue comment with gemini AI


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Oct 20, 2025
Copilot AI changed the title [WIP] Find examples of Google org workflows to review issues with Gemini AI Add documentation for Google org Gemini AI workflow examples for issue triage Oct 20, 2025
Copilot AI requested a review from robertprast October 20, 2025 23:17
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.

2 participants