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 be7da318c8 - Show all commits

View File

@@ -127,16 +127,18 @@ jobs:
flutter pub get flutter pub get
- name: Generate localization files
run: flutter gen-l10n --no-use-deferred-loading
- name: Check code format - name: Check generated files
id: generate_localizations id: generate_localizations
continue-on-error: true run: |
run: flutter gen-l10n --no-use-deferred-loading if [ -n "$(git status --porcelain lib/l10n)" ]; then
echo "has_changes=true" >> "$GITHUB_OUTPUT"
else
echo "has_changes=false" >> "$GITHUB_OUTPUT"
fi
- name: Format code - name: Commit generated localizations
if: steps.generate_localizations.outcome == 'failure' if: steps.generate_localizations.outputs.has_changes == 'true'
env: env:
GITEA_TOKEN: ${{ secrets.BOT_TOKEN }} GITEA_TOKEN: ${{ secrets.BOT_TOKEN }}
run: | run: |