Skip to content

Commit

Permalink
fix sync GHA by removing quotes from parsed branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jan 14, 2025
1 parent 65969d9 commit df41fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:

run: |
pushd nf-core/${{ matrix.pipeline }}
defaultBranch=$(grep -B5 -A5 "nextflowVersion" nextflow.config | grep "defaultBranch" | cut -d"=" -f2)
defaultBranch=$(grep -B5 -A5 "nextflowVersion" nextflow.config | grep "defaultBranch" | cut -d"=" -f2 | sed "s/'//g")
if [ -z "$defaultBranch" ]; then
defaultBranch="master"
fi
Expand Down

0 comments on commit df41fc0

Please sign in to comment.