Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Run fix script only if it exists

Christophe Bliard744d0397bdda
diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml
index a4135ee7057..1b0e4039697 100644
--- a/.github/workflows/crowdin.yml
+++ b/.github/workflows/crowdin.yml
@@ -82,6 +82,8 @@ jobs:
run: |
script/i18n/fix_crowdin_pt_language_root_key
- name: "Fix storages.health.checks.failures.zero key in Arabic and Latvian crowdin translation files"
+ # Only run if the file exists
+ if: ${{ hashFiles('script/i18n/fix_crowdin_storages_health_checks_failures_zero_key') != '' }}
run: |
script/i18n/fix_crowdin_storages_health_checks_failures_zero_key
- name: "Commit translations"