diff --git a/.github/workflows/unlock-weblate.yml b/.github/workflows/unlock-weblate.yml index bd028d4bd6c..8062ace972f 100644 --- a/.github/workflows/unlock-weblate.yml +++ b/.github/workflows/unlock-weblate.yml @@ -30,4 +30,7 @@ jobs: echo '[keys]' >> .weblate echo 'https://hosted.weblate.org/api/ = ${{ secrets.WEBLATE_API_KEY }}' >> .weblate - run: | - wlc unlock + # Have to lock each component individually. Not in the UI, but using the CLI we do. + for component in glossary adventures keywords achievements quizzes commands client-messages web-texts webpages parsons tutorials slides; do + wlc unlock hedy/$component + done \ No newline at end of file diff --git a/.github/workflows/update-weblate.yml b/.github/workflows/update-weblate.yml index d66cfc3b0d8..44be2caa94f 100644 --- a/.github/workflows/update-weblate.yml +++ b/.github/workflows/update-weblate.yml @@ -58,7 +58,11 @@ jobs: exit 0 fi - wlc lock + # Have to lock each component individually. Not in the UI, but using the CLI we do. + for component in glossary adventures keywords achievements quizzes commands client-messages web-texts webpages parsons tutorials slides; do + wlc lock hedy/$component + done + wlc pull wlc commit wlc push