File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Clean up
2+ on :
3+ # schedule:
4+ # - cron: '0 12 * * FRI' # Every Fridat at midnight
5+ workflow_dispatch :
6+ jobs :
7+ clean :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Clean Xarray translation repository
11+ uses : Scientific-Python-Translations/clean-up@main
12+ with :
13+ translations-repo : " Scientific-Python-Translations/xarray-translations"
14+ translations-ref : " main"
15+ # These are provided by the Scientific Python Project and allow
16+ # automation with bots
17+ gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
18+ passphrase : ${{ secrets.PASSPHRASE }}
19+ token : ${{ secrets.TOKEN }}
Original file line number Diff line number Diff line change 44 # - cron: '0 5 * * *' # Daily at 5 am
55 workflow_dispatch :
66jobs :
7- sync :
7+ sync_content :
88 runs-on : ubuntu-latest
99 steps :
1010 - name : Sync Xarray Content
Original file line number Diff line number Diff line change 11name : Sync Translations
22on :
33 # schedule:
4- # - cron: '0 12 * * MON ' # Every Monday at noon
4+ # - cron: '0 12 * * WED ' # Every Wednesday at midnight
55 workflow_dispatch :
66jobs :
77 build :
1010 - name : Sync Xarray translations
1111 uses : Scientific-Python-Translations/translations-sync@main
1212 with :
13- # Provided by user
1413 crowdin-project : " Xarray"
1514 source-repo : " xarray-contrib/xarray.dev"
1615 source-path : " src/locales/en/"
You can’t perform that action at this time.
0 commit comments