diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 26c11c827e..23e89c26c4 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -99,10 +99,10 @@ jobs: if [ -z "$defaultBranch" ]; then defaultBranch="master" fi + popd echo "Default branch: $defaultBranch" echo "defaultBranch=$defaultBranch" >> GITHUB_OUTPUT git config --global init.defaultBranch $defaultBranch - popd - name: Run synchronisation if: github.repository == 'nf-core/tools'