Wenn das jetzt funktioniert geh ich crashout

This commit is contained in:
2026-01-18 13:44:37 +01:00
parent 5924a9e86a
commit 99104f9108

View File

@@ -89,6 +89,8 @@ jobs:
- name: Format code - name: Format code
if: steps.check_format.outcome == 'failure' if: steps.check_format.outcome == 'failure'
env:
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
run: | run: |
git fetch origin ${{ gitea.head_ref }} git fetch origin ${{ gitea.head_ref }}
git checkout ${{ gitea.head_ref }} git checkout ${{ gitea.head_ref }}
@@ -98,10 +100,10 @@ jobs:
if [ -n "$(git status --porcelain lib test)" ]; then if [ -n "$(git status --porcelain lib test)" ]; then
git config --global user.name "Gitea Actions [bot]" 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 add lib test
git commit -m "Auto-format code" git commit -m "Auto-format code"
git push git push origin HEAD:${{ gitea.head_ref }}
else else
echo "No changes to commit" echo "No changes to commit"
fi fi
@@ -130,8 +132,8 @@ jobs:
env: env:
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }} GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
run: | run: |
git config --global user.name "Felix Kirchner" git config --global user.name "Gitea Actions [bot]"
git config --global user.email "felix.kirchner.fk@gmail.com" git config --global user.email ""
git add pubspec.yaml git add pubspec.yaml
git commit -m "Updated version number" 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 }} git push origin HEAD:${{ gitea.head_ref }}