Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/clean_up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Clean up
on:
#schedule:
# - cron: '0 12 * * FRI' # Every Fridat at midnight
workflow_dispatch:
jobs:
clean:
runs-on: ubuntu-latest
steps:
- name: Clean Xarray translation repository
uses: Scientific-Python-Translations/clean-up@main
with:
translations-repo: "Scientific-Python-Translations/xarray-translations"
translations-ref: "main"
# These are provided by the Scientific Python Project and allow
# automation with bots
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
token: ${{ secrets.TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/sync_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# - cron: '0 5 * * *' # Daily at 5 am
workflow_dispatch:
jobs:
sync:
sync_content:
runs-on: ubuntu-latest
steps:
- name: Sync Xarray Content
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sync_translations.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Sync Translations
on:
#schedule:
# - cron: '0 12 * * MON' # Every Monday at noon
# - cron: '0 12 * * WED' # Every Wednesday at midnight
workflow_dispatch:
jobs:
build:
Expand All @@ -10,7 +10,6 @@ jobs:
- name: Sync Xarray translations
uses: Scientific-Python-Translations/translations-sync@main
with:
# Provided by user
crowdin-project: "Xarray"
source-repo: "xarray-contrib/xarray.dev"
source-path: "src/locales/en/"
Expand Down