Skip to content

Commit

Permalink
Include "merged" status in isClosedConversation
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Nov 10, 2024
1 parent a468e10 commit f92d446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit f92d446

Please sign in to comment.