mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 13:19:03 +01:00
e193c848fe
Conflicts: - `config/initializers/content_security_policy.rb`: Upstream added some code to add the Identity Provider's sign-in endpoint to the `form-action` Content Security Policy directive but our version of the file is pretty different. Ported the change.
36 lines
929 B
YAML
36 lines
929 B
YAML
name: Crowdin / Upload translations
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
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
|
|
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 }}
|