2023-07-18 07:56:01 -07:00
|
|
|
name: Crowdin / Upload translations
|
|
|
|
|
|
|
|
on:
|
2024-07-07 02:39:31 -07:00
|
|
|
merge_group:
|
2023-07-18 07:56:01 -07:00
|
|
|
push:
|
|
|
|
branches:
|
2024-07-07 02:39:31 -07:00
|
|
|
- 'main'
|
|
|
|
- 'stable-*'
|
2023-07-18 07:56:01 -07:00
|
|
|
paths:
|
|
|
|
- crowdin.yml
|
|
|
|
- app/javascript/mastodon/locales/en.json
|
|
|
|
- config/locales/en.yml
|
|
|
|
- config/locales/simple_form.en.yml
|
|
|
|
- config/locales/activerecord.en.yml
|
|
|
|
- config/locales/devise.en.yml
|
|
|
|
- config/locales/doorkeeper.en.yml
|
|
|
|
- .github/workflows/crowdin-upload.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
upload-translations:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-11 01:41:26 -07:00
|
|
|
uses: actions/checkout@v4
|
2023-07-18 07:56:01 -07:00
|
|
|
|
|
|
|
- name: crowdin action
|
|
|
|
uses: crowdin/github-action@v1
|
|
|
|
with:
|
|
|
|
upload_sources: true
|
|
|
|
upload_translations: false
|
|
|
|
download_translations: false
|
|
|
|
crowdin_branch_name: main
|
|
|
|
|
|
|
|
env:
|
|
|
|
CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }}
|
|
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|