diff --git a/.gitea/workflows/autobuild.yml b/.gitea/workflows/autobuild.yml index c50f65f0..70f5f748 100644 --- a/.gitea/workflows/autobuild.yml +++ b/.gitea/workflows/autobuild.yml @@ -39,7 +39,7 @@ jobs: repo_url="${CI_SERVER_URL}/${CI_REPOSITORY}.git" rm -rf "$workspace/.git" - git init "$workspace" + git init -b ci "$workspace" git -C "$workspace" remote add origin "$repo_url" if [[ -n "${CI_TOKEN}" ]]; then @@ -50,7 +50,6 @@ jobs: fi git -C "$workspace" checkout --detach FETCH_HEAD - git -C "$workspace" submodule update --init --recursive --depth=1 - name: Setup Go uses: actions/setup-go@v5