From d312d9d1362bd3822e6a028448c6ab4b4d2c4c96 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Mon, 23 Oct 2023 01:46:15 +0000 Subject: [PATCH] format/tryagain -> develop/tryagain --- .../{build->develop.myml => build->develop.---myml} | 0 .gitea/workflows/format->develop.yml | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename .gitea/workflows/{build->develop.myml => build->develop.---myml} (100%) diff --git a/.gitea/workflows/build->develop.myml b/.gitea/workflows/build->develop.---myml similarity index 100% rename from .gitea/workflows/build->develop.myml rename to .gitea/workflows/build->develop.---myml diff --git a/.gitea/workflows/format->develop.yml b/.gitea/workflows/format->develop.yml index e874e0e..549e1fa 100644 --- a/.gitea/workflows/format->develop.yml +++ b/.gitea/workflows/format->develop.yml @@ -25,9 +25,11 @@ jobs: firstString=${{ github.ref_name }} secondString="develop" echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format\//"$secondString"\/} + git status - name: clone run: | - git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned + git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned + git -C ../cloned checkout -b $DEVELOPMENT_BRANCH mv ../cloned/.git .. rm -rf ../cloned cp -r . ../cloned @@ -45,7 +47,6 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "username@users.noreply.github.com" - git checkout -b ${{ env.DEVELOPMENT_BRANCH }} git add -A git status git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }} "