File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 43
43
- uses : actions/download-artifact@v2
44
44
- run : npm install ./artifact
45
45
- run : echo "${{ env.IMPORT_TEXT }} '${{ env.NPM_MODULE_NAME }}'" > index.js
46
- - run : npx parcel@1 build index.js
46
+ - run : npx parcel@1.12.3 build index.js
47
47
- run : cat dist/index.js
48
48
Rollup :
49
49
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -507,9 +507,11 @@ collect.set('isNewAction', [
507
507
'https://github.com/sindresorhus/refined-github/actions/new' ,
508
508
] ) ;
509
509
510
- export const isRepositoryActions = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => getRepo ( url ) ?. path === 'actions' ;
510
+ export const isRepositoryActions = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => / ^ a c t i o n s ( \/ w o r k f l o w s \/ . + \. y a ? m l ) ? $ / . test ( getRepo ( url ) ?. path ! ) ;
511
511
collect . set ( 'isRepositoryActions' , [
512
512
'https://github.com/fregante/github-url-detection/actions' ,
513
+ 'https://github.com/fregante/github-url-detection/actions/workflows/demo.yml' ,
514
+ 'https://github.com/fregante/github-url-detection/actions/workflows/esm-lint.yml' ,
513
515
] ) ;
514
516
515
517
export const canUserEditOrganization = ( ) : boolean => isOrganizationProfile ( ) && exists ( '.pagehead-tabs-item[href$="/settings/profile"]' ) ;
You can’t perform that action at this time.
0 commit comments