mirror of
https://github.com/anthropics/claude-code.git
synced 2026-05-05 13:22:41 +00:00
Fix: Use reactionGroups field for counting reactions
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>
This commit is contained in:
4
.github/workflows/claude-oncall-triage.yml
vendored
4
.github/workflows/claude-oncall-triage.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
2. For each issue, gather the following information using the GitHub MCP tools:
|
||||
- Issue details (title, body, labels) using mcp__github__get_issue
|
||||
- All comments using mcp__github__get_issue_comments
|
||||
- Reaction counts from the issue data
|
||||
- Reaction counts from the issue data (available in the reactionGroups field)
|
||||
|
||||
3. Evaluate each issue against the oncall criteria. An issue is oncall-worthy if ALL of the following are true:
|
||||
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
- Activity includes: new comments, reactions, or label changes
|
||||
|
||||
d) At least 5 engagements:
|
||||
- Count total reactions on the issue (👍, ❤️, 😄, 🎉, 😕, 👀, etc.)
|
||||
- Count total reactions from the reactionGroups field (sum all reaction counts)
|
||||
- Count total number of comments
|
||||
- Sum must be >= 5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user