From 439c44fe31dbdac8095e6cf3f24407ddfe0eb09a Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 22 Oct 2023 18:40:34 +0100 Subject: [PATCH] llllllllllllllllllll --- .gitea/workflows/convert-to-yml.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 }}