From d5e4871e636faa1829829b17bf179e082d368ec6 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 20 Oct 2025 05:41:11 +0000 Subject: [PATCH] Fix: Use reactionGroups field for counting reactions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/claude-oncall-triage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-oncall-triage.yml b/.github/workflows/claude-oncall-triage.yml index db74ed0cf..1b5c4738f 100644 --- a/.github/workflows/claude-oncall-triage.yml +++ b/.github/workflows/claude-oncall-triage.yml @@ -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