diff --git a/.github/workflows/buildBranches.yml b/.github/workflows/buildBranches.yml index 1ab0dd11c..0bc1d482a 100644 --- a/.github/workflows/buildBranches.yml +++ b/.github/workflows/buildBranches.yml @@ -100,7 +100,7 @@ jobs: git config --global user.email actions@github.com mkdir equibuilds && cd equibuilds - git init + git init -b "$BRANCH" git remote add origin https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git if git ls-remote --exit-code --heads origin "$BRANCH" > /dev/null 2>&1; then