diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index 15f394e..377ccf5 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -47,9 +47,11 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git fetch - git checkout -b ${{ env.DEVELOPMENT_BRANCH }} + git fetch depth=1 git add -A + git stash + git checkout -b ${{ env.DEVELOPMENT_BRANCH }} + git stash pop git status git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}