chore(ci): optimize gemini workflows and remove automatic triage#76
Conversation
|
Note
|
| Layer / File(s) | Summary |
|---|---|
Gemini Dispatch event listener and command routing .github/workflows/gemini-dispatch.yml |
The workflow event trigger switches from issues opened/reopened to issue_comment created. The command-extraction logic removes special-case triage routing for issue events, instead parsing @gemini-cli directives from incoming comment text. |
Gemini Scheduled Triage trigger mode .github/workflows/gemini-scheduled-triage.yml |
All automated triggers (hourly schedule, pull_request, and push filters) are removed; the workflow now executes only when manually triggered via workflow_dispatch. |
Possibly Related PRs
- KDM-cli/kdm-cli#45: Both PRs directly modify the same GitHub Actions workflows (
gemini-dispatchtriggers andgemini-scheduled-triageautomation).
Suggested Labels
ci/cd
Estimated Code Review Effort
🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
🤖 Commands once flowed from issue states,
Now comments carry gemini's weight.
Scheduled runs bow to manual hand,
Dispatch and logic shake and brand—
A quieter, cleaner, command-first plan. ✨
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title clearly and concisely summarizes the main changes: removing automatic triage triggers and optimizing Gemini workflows to reduce GitHub Actions runtime costs. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
Comment @coderabbitai help to get the list of available commands and usage tips.
There was a problem hiding this comment.
Pull request overview
Removes automatic Gemini triage triggers (scheduled cron, push/PR path triggers, and issue-open events) to reduce GitHub Actions usage. Manual dispatch and comment-based commands remain available.
Changes:
- Strip
schedule,pull_request, andpushtriggers fromgemini-scheduled-triage.yml, leaving onlyworkflow_dispatch. - Remove
issues(opened/reopened) trigger fromgemini-dispatch.yml. - Remove the dispatcher branch that maps
issues.opened/issues.reopenedto thetriagecommand.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/gemini-scheduled-triage.yml | Removes hourly cron and push/PR self-test triggers, leaving only manual dispatch. |
| .github/workflows/gemini-dispatch.yml | Removes issues event trigger and the corresponding triage command mapping in the dispatcher script. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This PR removes scheduled runs and automatic triage triggers from Gemini workflows to save GitHub Action runtime minutes. Triage can still be triggered manually or via comment commands.
Summary by CodeRabbit