Skip to content

Commit

Permalink
Fix linting CI treating README files as modules (#7285)
Browse files Browse the repository at this point in the history
Filter out README files from module names
  • Loading branch information
fellen31 authored Jan 10, 2025
1 parent fe8830f commit 5d3d5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
.replace('modules/nf-core/', '')
.split('/')
.slice(0, 2)
.filter(x => !x.startsWith('main.nf') && x !== 'tests' && x !== 'meta.yml' && x !== 'environment.yml')
.filter(x => !x.startsWith('main.nf') && x !== 'tests' && x !== 'meta.yml' && x !== 'environment.yml' && !/^README.*\.md$/i.test(x))
.join('/'))
)
];
Expand Down

0 comments on commit 5d3d5f2

Please sign in to comment.