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 4343 - uses : actions/download-artifact@v2
4444 - run : npm install ./artifact
4545 - 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
4747 - run : cat dist/index.js
4848 Rollup :
4949 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -507,9 +507,11 @@ collect.set('isNewAction', [
507507 'https://github.com/sindresorhus/refined-github/actions/new' ,
508508] ) ;
509509
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 ! ) ;
511511collect . set ( 'isRepositoryActions' , [
512512 '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' ,
513515] ) ;
514516
515517export const canUserEditOrganization = ( ) : boolean => isOrganizationProfile ( ) && exists ( '.pagehead-tabs-item[href$="/settings/profile"]' ) ;
You can’t perform that action at this time.
0 commit comments