File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,9 @@ collect.set('isQuickPR', [
266
266
export const isDraftPR = ( ) : boolean => exists ( '#partial-discussion-header [title="Status: Draft"]' ) ;
267
267
export const isOpenPR = ( ) : boolean => exists ( '#partial-discussion-header [title="Status: Open"], #partial-discussion-header [title="Status: Draft"]' ) ;
268
268
export const isMergedPR = ( ) : boolean => exists ( '#partial-discussion-header [title="Status: Merged"]' ) ;
269
- export const isClosedPR = ( ) : boolean => exists ( '#partial-discussion-header [title="Status: Closed"], #partial-discussion-header [title="Status: Merged"]' ) ;
269
+ export const isClosedConversation = ( ) : boolean => exists ( '#partial-discussion-header :is([title="Status: Closed"], [title="Status: Merged"], [title="Status: Closed as not planned]")' ) ;
270
+ /** @deprecated Use isClosedConversation */
271
+ export const isClosedPR = isClosedConversation ;
270
272
271
273
export const isReleases = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => getRepo ( url ) ?. path === 'releases' ;
272
274
collect . set ( 'isReleases' , [
You can’t perform that action at this time.
0 commit comments