Skip to content

Commit 3858e38

Browse files
committed
try exiting pipeline directory before saving defaultBranch
1 parent 1de1034 commit 3858e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sync.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ jobs:
9999
if [ -z "$defaultBranch" ]; then
100100
defaultBranch="master"
101101
fi
102+
popd
102103
echo "Default branch: $defaultBranch"
103104
echo "defaultBranch=$defaultBranch" >> GITHUB_OUTPUT
104105
git config --global init.defaultBranch $defaultBranch
105-
popd
106106
107107
- name: Run synchronisation
108108
if: github.repository == 'nf-core/tools'

0 commit comments

Comments
 (0)