docs: Update ADK triaging agent to only triage planned issues

It also enables the ADK triaging agent to run periodically on planned but not triaged issues.

Co-authored-by: Xuan Yang <xygoogle@google.com>
PiperOrigin-RevId: 834489103
This commit is contained in:
Xuan Yang
2025-11-19 16:26:55 -08:00
committed by Copybara-Service
parent f13a11e1dc
commit 679d543f8e
3 changed files with 73 additions and 13 deletions
+6 -1
View File
@@ -2,11 +2,16 @@ name: ADK Issue Triaging Agent
on:
issues:
types: [opened, reopened]
types: [labeled]
schedule:
# Run every 6 hours to triage planned but not triaged issues
- cron: '0 */6 * * *'
jobs:
agent-triage-issues:
runs-on: ubuntu-latest
# Only run if labeled with "planned" or if it's a scheduled run
if: github.event_name == 'schedule' || github.event.label.name == 'planned'
permissions:
issues: write
contents: read