File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sync Translations
2+ on :
3+ # schedule:
4+ # - cron: '0 12 * * MON' # Every Monday at noon
5+ workflow_dispatch :
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Sync Xarray translations
11+ uses : Scientific-Python-Translations/translations-sync@main
12+ with :
13+ # Provided by user
14+ crowdin-project : " Xarray"
15+ source-repo : " xarray-contrib/xarray.dev"
16+ source-path : " content/en/"
17+ source-ref : " main"
18+ translations-repo : " Scientific-Python-Translations/xarray-website-translations"
19+ translations-path : " content/"
20+ translations-source-path : " content/en/"
21+ translations-ref : " main"
22+ translation-percentage : " 90"
23+ approval-percentage : " 0"
24+ use-precommit : " flase"
25+ create-toml-file : " false"
26+ create-upstream-pr : " false"
27+ auto-merge : " false"
28+ # Provided by organization secrets
29+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
30+ passphrase : ${{ secrets.PASSPHRASE }}
31+ token : ${{ secrets.TOKEN }}
32+ crowdin-token : ${{ secrets.CROWDIN_TOKEN }}
You can’t perform that action at this time.
0 commit comments