diff --git a/.gitea/workflows/automerge-with-core.yaml b/.gitea/workflows/automerge-with-core.yaml index f84a945..5b40022 100644 --- a/.gitea/workflows/automerge-with-core.yaml +++ b/.gitea/workflows/automerge-with-core.yaml @@ -12,6 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - run: echo "Merge core/template-android-project to ${{ gitea.repository }}" + - run: git config --global credential.helper '!f() { sleep 1; echo "username=vladimir-shperling=${{ secrets.PUSH_TOKEN }}"; }; f' - run: | git clone https://sicampus.ru/gitea/${{ gitea.repository }} git remote add upstream https://sicampus.ru/gitea/core/template-android-project.git @@ -22,9 +23,7 @@ jobs: - run: | echo "From other line" git log - - run: | - git config --global credential.helper '!f() { sleep 1; echo "username=vladimir-shperling=${{ secrets.PUSH_TOKEN }}"; }; f' - git push --force + - run: git push --force - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."