Skip to content

Commit 3ee0588

Browse files
committed
add dry run, workflow_dispatch
1 parent 8b94d88 commit 3ee0588

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/translations-sync.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: Crowdin Sync
44

55
on:
6+
workflow_dispatch: # Allow running when we want to, for events such as urgent translation mistakes or 100% completed languages
67
schedule:
78
- cron: '0 5 * * 5' # At 05:00 on Fridays. This guarantees that we have the 72 hour weekend time to review translations.
89

@@ -33,8 +34,11 @@ jobs:
3334
- name: crowdin action
3435
uses: crowdin/github-action@2d540f18b0a416b1fbf2ee5be35841bd380fc1da #v2.3.0
3536
with:
37+
# testing only
38+
dryrun_action: true
39+
# do not upload existing translations - this is a one-way operation
3640
upload_sources: true
37-
upload_translations: false #do not upload existing translations - this is a one-way operation
41+
upload_translations: false
3842
# the rest of this controls how the PR comes in with new translations
3943
download_translations: true
4044
localization_branch_name: chore/crowdin

0 commit comments

Comments
 (0)