From 99104f91087644894d35dd7e94f1d44d59947883 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Sun, 18 Jan 2026 13:44:37 +0100 Subject: [PATCH] Wenn das jetzt funktioniert geh ich crashout --- .gitea/workflows/pull_request.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml index 28da37d..449bb66 100644 --- a/.gitea/workflows/pull_request.yaml +++ b/.gitea/workflows/pull_request.yaml @@ -89,6 +89,8 @@ jobs: - name: Format code if: steps.check_format.outcome == 'failure' + env: + GITEA_TOKEN: ${{ secrets.BOT_TOKEN }} run: | git fetch origin ${{ gitea.head_ref }} git checkout ${{ gitea.head_ref }} @@ -98,10 +100,10 @@ jobs: if [ -n "$(git status --porcelain lib test)" ]; then git config --global user.name "Gitea Actions [bot]" - git config --global user.email "actions@gitea.com" + git config --global user.email "" git add lib test git commit -m "Auto-format code" - git push + git push origin HEAD:${{ gitea.head_ref }} else echo "No changes to commit" fi @@ -125,13 +127,13 @@ jobs: strategy: 'patch' path: './pubspec.yaml' - + - name: Commit version update env: GITEA_TOKEN: ${{ secrets.BOT_TOKEN }} run: | - git config --global user.name "Felix Kirchner" - git config --global user.email "felix.kirchner.fk@gmail.com" + git config --global user.name "Gitea Actions [bot]" + git config --global user.email "" git add pubspec.yaml git commit -m "Updated version number" - git push https://flixcoo:${{ secrets.BOT_TOKEN }}@git.yannick-weigert.de/liquid-development/game-tracker.git HEAD:${{ gitea.head_ref }} \ No newline at end of file + git push origin HEAD:${{ gitea.head_ref }} \ No newline at end of file