From 666fc9f522f8dc94d314758a36bbd260271df7b1 Mon Sep 17 00:00:00 2001 From: mashehu Date: Tue, 10 Dec 2024 14:44:12 +0100 Subject: [PATCH] fix path for nextflow.config grep --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index b0464d274..2a5066397 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -89,7 +89,7 @@ jobs: - name: Set Git default branch from nextflow.config and set git default branch to that or "master" run: | - defaultBranch=$(grep -B5 -A5 "nextflowVersion" nextflow.config | grep "defaultBranch" | cut -d"=" -f2) + defaultBranch=$(grep -B5 -A5 "nextflowVersion" nf-core/${{ matrix.pipeline }}/nextflow.config | grep "defaultBranch" | cut -d"=" -f2) if [ -z "$defaultBranch" ]; then defaultBranch="master" fi