Changes the workflow to be event-driven and process fewer issues:
- Triggers on issue events (opened, edited, labeled, reopened) and comments
- When triggered by event, processes only that specific issue
- When running on schedule, only checks issues created in last 7 days
- Only adds oncall label, never removes it
- Uses search_issues instead of list_issues for better filtering
This dramatically reduces the dataset size and makes the workflow
more efficient and scalable.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Updates the prompt to correctly reference the reactionGroups field
instead of reactions when counting engagements.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Creates a new scheduled workflow that identifies critical issues requiring
oncall attention based on:
- Must be a bug
- Must be blocking users from using Claude Code
- Last activity within 3 days
- At least 5 engagements (reactions + comments)
The workflow runs every 6 hours and applies/removes the "oncall" label
automatically.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>