Skip to content

Commit 979f60c

Browse files
authored
Add guard step for skipping Crowdin sync
Add check to skip Crowdin sync if project ID is missing.
1 parent fe6f478 commit 979f60c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/download-translations.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
crowdin:
1717
runs-on: ubuntu-latest
1818
steps:
19+
- name: Skip if Crowdin ID missing
20+
run: |
21+
if [ -z "${{ secrets.CROWDIN_PROJECT_ID }}" ]; then
22+
echo "Skipping Crowdin sync — no project ID set."
23+
exit 0
24+
fi
1925
- name: Checkout
2026
uses: actions/checkout@v4
2127
with:

0 commit comments

Comments
 (0)