File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 NODE_ENV : development
6767 VITE_TEST_SERVER_AUTH : " admin:opencast"
6868
69-
7069 - name : Prepare git
7170 run : |
7271 git config --global user.name "Admin Interface Deployment Bot"
@@ -139,3 +138,27 @@ jobs:
139138 ](https://test.admin-interface.opencast.org/${{ steps.build-path.outputs.build }}).
140139
141140 It might take a few minutes for it to become available.
141+
142+ translations :
143+ name : Translations only via Crowdin
144+ if : github.repository_owner == 'opencast'
145+ runs-on : ubuntu-latest
146+
147+ steps :
148+ - name : Checkout Sources
149+ uses : actions/checkout@v4
150+
151+ - name : Get changed locale files
152+ uses : dorny/paths-filter@v3
153+ id : filter_locales
154+ with :
155+ filters : | # !(pattern) matches anything but pattern
156+ locales:
157+ - 'src/i18n/org/opencastproject/adminui/languages/!lang-(en_US)*.json'
158+
159+ - name : Check for changes in translations
160+ if : steps.filter_locales.outputs.locales == true
161+ uses : actions/github-script@v7
162+ with :
163+ script : |
164+ core.setFailed('You should not alter translations outside of Crowdin.')
You can’t perform that action at this time.
0 commit comments