spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic ยท github.com/anthropics

Fix: Use reactionGroups field for counting reactionsBrowse files
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>
Claude authored on Oct 20, 2025 parent 626bd3f ยท commit d5e4871e636f
1 changed file+2 -2compared with 626bd3f
M.github/workflows/claude-oncall-triage.yml
@@ -35,7 +35,7 @@
3535 2. For each issue, gather the following information using the GitHub MCP tools:
3636 - Issue details (title, body, labels) using mcp__github__get_issue
3737 - All comments using mcp__github__get_issue_comments
38- - Reaction counts from the issue data
38+ - Reaction counts from the issue data (available in the reactionGroups field)
3939
4040 3. Evaluate each issue against the oncall criteria. An issue is oncall-worthy if ALL of the following are true:
4141
@@ -54,7 +54,7 @@
5454 - Activity includes: new comments, reactions, or label changes
5555
5656 d) At least 5 engagements:
57- - Count total reactions on the issue (๐Ÿ‘, โค๏ธ, ๐Ÿ˜„, ๐ŸŽ‰, ๐Ÿ˜•, ๐Ÿ‘€, etc.)
57+ - Count total reactions from the reactionGroups field (sum all reaction counts)
5858 - Count total number of comments
5959 - Sum must be >= 5
6060