2023-07-18 23:56:01 +09:00
|
|
|
name: Crowdin / Upload translations
|
|
|
|
|
|
|
|
on:
|
2024-07-07 18:39:31 +09:00
|
|
|
merge_group:
|
2023-07-18 23:56:01 +09:00
|
|
|
push:
|
|
|
|
branches:
|
2024-07-07 18:39:31 +09:00
|
|
|
- 'main'
|
|
|
|
- 'stable-*'
|
2023-07-18 23:56:01 +09:00
|
|
|
paths:
|
2024-06-08 20:49:02 +09:00
|
|
|
- crowdin-glitch.yml
|
|
|
|
- app/javascript/flavours/glitch/locales/en.json
|
|
|
|
- config/locales-glitch/en.yml
|
|
|
|
- config/locales-glitch/simple_form.en.yml
|
|
|
|
- config/locales-glitch/activerecord.en.yml
|
|
|
|
- config/locales-glitch/devise.en.yml
|
|
|
|
- config/locales-glitch/doorkeeper.en.yml
|
2023-07-18 23:56:01 +09:00
|
|
|
- .github/workflows/crowdin-upload.yml
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
upload-translations:
|
|
|
|
runs-on: ubuntu-latest
|
2024-07-30 02:19:05 +09:00
|
|
|
if: github.repository == 'mastodon/mastodon'
|
2023-07-18 23:56:01 +09:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-09-11 17:41:26 +09:00
|
|
|
uses: actions/checkout@v4
|
2023-07-18 23:56:01 +09:00
|
|
|
|
|
|
|
- name: crowdin action
|
2024-08-14 07:28:13 +09:00
|
|
|
uses: crowdin/github-action@v2
|
2023-07-18 23:56:01 +09:00
|
|
|
with:
|
2023-07-19 15:36:25 +09:00
|
|
|
config: crowdin-glitch.yml
|
2023-07-18 23:56:01 +09:00
|
|
|
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 }}
|