Show merge-conflict badge on PR cards via GraphQL mergeable field

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgBEW6qAwgn2fcQbA2f4ZQ
This commit is contained in:
Joshua Coles
2026-07-29 10:10:53 +00:00
co-authored by Claude Fable 5
parent 5aa6f3367d
commit ab6e3bbe3a
5 changed files with 17 additions and 0 deletions
+2
View File
@@ -34,6 +34,8 @@ export interface PrSnapshot {
url: string;
author: string;
isDraft: boolean;
/** GitHub's merge-conflict state; UNKNOWN while GitHub is still computing it. */
mergeable: 'MERGEABLE' | 'CONFLICTING' | 'UNKNOWN';
branch: string;
updatedAt: string;
labels: string[];