File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -451,6 +451,14 @@ collect.set('isMarketplaceAction', [
451
451
export const isActionJobRun = ( url : URL | Location = location ) : boolean => String ( getRepoPath ( url ) ) . startsWith ( 'runs/' ) ;
452
452
collect . set ( 'isActionJobRun' , [
453
453
'https://github.com/sindresorhus/refined-github/runs/639481849' ,
454
+ 'https://github.com/fregante/github-url-detection/runs/1224552520?check_suite_focus=true' ,
455
+ ] ) ;
456
+
457
+ export const isActionRun = ( url : URL | Location = location ) : boolean => / ^ ( a c t i o n s \/ ) ? r u n s / . test ( getRepoPath ( url ) ! ) ;
458
+ collect . set ( 'isActionRun' , [
459
+ 'https://github.com/sindresorhus/refined-github/runs/639481849' ,
460
+ 'https://github.com/fregante/github-url-detection/runs/1224552520?check_suite_focus=true' ,
461
+ 'https://github.com/fregante/github-url-detection/actions/runs/294962314' ,
454
462
] ) ;
455
463
456
464
export const isNewAction = ( url : URL | Location = location ) : boolean => String ( getRepoPath ( url ) ) === 'actions/new' ;
You can’t perform that action at this time.
0 commit comments