Skip to content

Commit

Permalink
try exiting pipeline directory before saving defaultBranch
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Dec 11, 2024
1 parent 1de1034 commit 3858e38
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 @@ -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'
Expand Down

0 comments on commit 3858e38

Please sign in to comment.