chore(ci): remove Crowdin integration from scheduled updates (#2708)

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
James Rich 2025-08-13 21:47:47 -05:00 committed by GitHub
parent 10c1befa2b
commit c5535b9a1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 107 deletions

View file

@ -1,26 +0,0 @@
name: Crowdin Upload Translations Action
on:
workflow_dispatch: # Allow manual triggering
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
if: github.repository == 'meshtastic/Meshtastic-Android'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Upload translations with Crowdin
uses: crowdin/github-action@v2
with:
base_url: 'https://meshtastic.crowdin.com/api/v2'
config: 'config/crowdin/crowdin.yml'
upload_sources: fals
upload_translations: true
download_translations: false
crowdin_branch_name: 'main'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View file

@ -6,7 +6,7 @@ on:
workflow_dispatch: # Allow manual triggering
jobs:
update_and_translate:
update_assets:
runs-on: ubuntu-latest
if: github.repository == 'meshtastic/Meshtastic-Android'
permissions:
@ -55,61 +55,22 @@ jobs:
fi
fi
- name: Upload sources to Crowdin
uses: crowdin/github-action@v2
with:
base_url: 'https://meshtastic.crowdin.com/api/v2'
config: 'config/crowdin/crowdin.yml'
crowdin_branch_name: 'main'
upload_sources: true
upload_translations: false
download_translations: false
create_pull_request: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Download translations from Crowdin
uses: crowdin/github-action@v2
with:
base_url: 'https://meshtastic.crowdin.com/api/v2'
config: 'config/crowdin/crowdin.yml'
crowdin_branch_name: 'main'
upload_sources: false
download_translations: true
create_pull_request: false
commit_message: 'chore(l10n): New Crowdin Translations from scheduled update'
push_translations: false
push_sources: false
localization_branch_name: ${{ github.ref_name }}
export_only_approved: false
# skip_ref_checkout: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Create Pull Request if changes occurred
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.AUTOMATION_PAT }}
commit-message: |
chore: Scheduled updates (Firmware, Hardware, Translations)
chore: Scheduled updates (Firmware, Hardware)
Automated updates for:
- Firmware releases list
- Device hardware list
- Crowdin source string uploads
- Crowdin translation downloads
title: 'chore: Scheduled updates (Firmware, Hardware, Translations)'
title: 'chore: Scheduled updates (Firmware, Hardware)'
body: |
This PR includes automated updates from the scheduled workflow:
- Updated `firmware_releases.json` from the Meshtastic API (if changed).
- Updated `device_hardware.json` from the Meshtastic API (if changed).
- Source strings were uploaded to Crowdin (if any local changes were pushed).
- Latest translations were downloaded from Crowdin (if available).
Please review the changes.
branch: 'scheduled-updates'
@ -117,6 +78,5 @@ jobs:
delete-branch: true
labels: |
automation
l10n
firmware
hardware