@@ -407,12 +407,16 @@ export const isUserProfileFollowingTab = (): boolean =>
407
407
isUserProfile ( ) &&
408
408
new URLSearchParams ( location . search ) . get ( 'tab' ) === 'following' ;
409
409
410
- export const isSingleTagPage = ( url : URL | Location = location ) : boolean => / ^ ( r e l e a s e s \/ t a g ) / . test ( getRepoPath ( url ) ! ) ;
411
- collect . set ( 'isSingleTagPage ' , [
410
+ export const isSingleTag = ( url : URL | Location = location ) : boolean => / ^ ( r e l e a s e s \/ t a g ) / . test ( getRepoPath ( url ) ! ) ;
411
+ collect . set ( 'isSingleTag ' , [
412
412
'https://github.com/sindresorhus/refined-github/releases/tag/v1.0.0-beta.4' ,
413
413
'https://github.com/sindresorhus/refined-github/releases/tag/0.2.1' ,
414
414
] ) ;
415
415
416
+ /** @deprecated use isSingleTag instead */
417
+ export const isSingleTagPage = isSingleTag ;
418
+ collect . set ( 'isSingleTagPage' , combinedTestOnly ) ;
419
+
416
420
collect . set ( 'hasComments' , combinedTestOnly ) ;
417
421
export const hasComments = ( url : URL | Location = location ) : boolean =>
418
422
isPR ( url ) ||
@@ -435,13 +439,17 @@ export const hasCode = (url: URL | Location = location): boolean => // Static co
435
439
isCompare ( url ) ||
436
440
isBlame ( url ) ;
437
441
438
- export const isActionPage = ( url : URL | Location = location ) : boolean => url . pathname . startsWith ( '/marketplace/actions/' ) ;
439
- collect . set ( 'isActionPage ' , [
442
+ export const isActions = ( url : URL | Location = location ) : boolean => url . pathname . startsWith ( '/marketplace/actions/' ) ;
443
+ collect . set ( 'isActions ' , [
440
444
'https://github.com/marketplace/actions/urlchecker-action' ,
441
445
'https://github.com/marketplace/actions/github-action-for-assignee-to-reviewer' ,
442
446
'https://github.com/marketplace/actions/hugo-actions' ,
443
447
] ) ;
444
448
449
+ /** @deprecated use isActions instead */
450
+ export const isActionPage = isActions ;
451
+ collect . set ( 'isActionPage' , combinedTestOnly ) ;
452
+
445
453
export const isActionJobRun = ( url : URL | Location = location ) : boolean => String ( getRepoPath ( url ) ) . startsWith ( 'runs/' ) ;
446
454
collect . set ( 'isActionJobRun' , [
447
455
'https://github.com/sindresorhus/refined-github/runs/639481849' ,
0 commit comments