Skip to content

Commit

Permalink
ci(crowdin): run on push, skip untranslated files
Browse files Browse the repository at this point in the history
  • Loading branch information
aliernfrog committed Mar 25, 2024
1 parent 2384c93 commit 0284c99
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Sync Crowdin
name: Crowdin sync

on:
workflow_dispatch:

push:
branches: [ "dev" ]

schedule:
- cron: "0 17 * * 5"

Expand All @@ -12,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Sync translations from Crowdin
- name: Crowdin sync
uses: crowdin/[email protected]
with:
create_pull_request: true
Expand All @@ -23,6 +27,7 @@ jobs:
upload_sources: true
upload_translations: true
download_translations: true
skip_untranslated_files: true
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
Expand Down

0 comments on commit 0284c99

Please sign in to comment.