diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml deleted file mode 100644 index 173b0f7..0000000 --- a/.github/workflows/analyze.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Flutter Analyze - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - analyze: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: subosito/flutter-action@v2 - - run: flutter pub get - - run: flutter analyze diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml deleted file mode 100644 index 3ae9e9f..0000000 --- a/.github/workflows/translation.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Update Translations - -on: - workflow_dispatch: - -jobs: - translation: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: transifex/cli-action@v2 - with: - token: ${{ secrets.TRANSIFEX_TOKEN }} - args: pull -a --force - - run: | - git config --global user.name "Traccar Bot" - git config --global user.email "support@traccar.org" - for f in lib/l10n/*.arb; do - [[ $f == */app_en.arb ]] && continue - diff -q "$f" lib/l10n/app_en.arb && continue - git diff --quiet -- "$f" || git add "$f" - done - git diff --cached --quiet || git commit -m "Update translations" - git push - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}