From edb2f57e6cfe8468f5a4598b7a05af73580e20b3 Mon Sep 17 00:00:00 2001 From: mashehu Date: Wed, 26 Apr 2023 14:10:32 +0200 Subject: [PATCH] remove zenodo template string when running create-lint-wf --- .github/workflows/create-lint-wf.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/create-lint-wf.yml b/.github/workflows/create-lint-wf.yml index f76187d6af..46152d92a7 100644 --- a/.github/workflows/create-lint-wf.yml +++ b/.github/workflows/create-lint-wf.yml @@ -84,6 +84,10 @@ jobs: - name: remove TODO run: find nf-core-testpipeline -type f -exec sed -i '/TODO nf-core:/d' {} \; + # Replace zenodo.XXXXXX to pass readme linting + - name: replace zenodo.XXXXXX + run: find nf-core-testpipeline -type f -exec sed -i 's/zenodo.XXXXXX/zenodo.123456/g' {} \; + # Run nf-core linting - name: nf-core lint run: nf-core --log-file log.txt --hide-progress lint --dir nf-core-testpipeline --fail-ignored --fail-warned