Actions & PR Template verbessern #223

Merged
flixcoo merged 42 commits from setup/222-actions-&-pr-template-verbessern into development 2026-05-22 19:13:00 +00:00
Showing only changes of commit 9aaf962846 - Show all commits

View File

@@ -142,21 +142,22 @@ jobs:
env:
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
# git fetch origin ${{ gitea.ref_name }}
git fetch origin ${{ gitea.head_ref }}
# git checkout ${{ gitea.ref_name }}
git checkout ${{ gitea.head_ref }}
if [ -n "$(git status --porcelain lib test)" ]; then
git config --global user.name "Gitea Actions [bot]"
git config --global user.email "actions@yannick-weigert.de"
git config pull.rebase false
# git pull origin ${{ gitea.ref_name }}
git pull origin ${{ gitea.head_ref }}
git add lib/l10n
git commit -m "Generated localizations [skip ci]"
# git push origin HEAD:${{ gitea.ref_name }}
git push origin HEAD:${{ gitea.head_ref }}
else
echo "No changes to commit"
fi
fi
# git fetch origin ${{ gitea.ref_name }}
# git checkout ${{ gitea.ref_name }}
# git pull origin ${{ gitea.ref_name }}
# git push origin HEAD:${{ gitea.ref_name }}