mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 19:01:37 +01:00
1f796d129d
Conflicts: - `config/routes/api.rb`: Upstream added an endpoint, textually close to a glitch-soc-only endpoint. Ported upstream changes.
39 lines
1 KiB
YAML
39 lines
1 KiB
YAML
name: Crowdin / Upload translations
|
|
|
|
on:
|
|
merge_group:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'stable-*'
|
|
paths:
|
|
- 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
|
|
- .github/workflows/crowdin-upload.yml
|
|
|
|
jobs:
|
|
upload-translations:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'mastodon/mastodon'
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: crowdin action
|
|
uses: crowdin/github-action@v1
|
|
with:
|
|
config: crowdin-glitch.yml
|
|
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 }}
|