From f92d446759dae286fcf5e375d4b1606b266530f9 Mon Sep 17 00:00:00 2001 From: Federico Date: Sun, 10 Nov 2024 16:04:05 +0700 Subject: [PATCH] Include "merged" status in `isClosedConversation` --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 57eede6..e3b0b1a 100644 --- a/index.ts +++ b/index.ts @@ -300,7 +300,7 @@ export const isOpenConversation = (): boolean => { export const isClosedConversation = (): boolean => { const status = getStateLabel(); - return status === 'Closed' || status === 'Closed as not planned'; + return status === 'Closed' || status === 'Closed as not planned' || status === 'Merged'; }; export const isReleases = (url: URL | HTMLAnchorElement | Location = location): boolean => getRepo(url)?.path === 'releases';