diff --git a/.github/allowed-actions.js b/.github/allowed-actions.js index 674008e371..3f372b3b83 100644 --- a/.github/allowed-actions.js +++ b/.github/allowed-actions.js @@ -12,7 +12,7 @@ export default [ 'actions/upload-artifact@27121b0bdffd731efa15d66772be8dc71245d074', // v2.2.4 'alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488', // v0.8.1 'andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90', // v1.0.4 - 'crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25', // v1.4.0 + 'crowdin/github-action@d0622816ed4f4744db27d04374b2cef6867f7bed', // v1.4.1 'cschleiden/actions-linter@caffd707beda4fc6083926a3dff48444bc7c24aa', // uses github-actions-parser v0.23.0 'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911', // v3.0.2 'dawidd6/action-download-artifact@af92a8455a59214b7b932932f2662fdefbd78126', // v2.15.0 diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 1f995e6110..a1411cab44 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -27,8 +27,13 @@ jobs: - name: Remove unwanted git hooks run: rm .git/hooks/post-checkout + - name: Remove all translations + run: | + git rm -rf --quiet translations/*/content + git rm -rf --quiet translations/*/data + - name: Sync - uses: crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25 + uses: crowdin/github-action@d0622816ed4f4744db27d04374b2cef6867f7bed with: # This option enables the transfer of existing translations in this project to Crowdin. # We explicitly set this to `false` since we only want to use the downloaded translations managed by Crowdin.