Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚚 Fix automatic Weblate locking/unlocking #5462

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/unlock-weblate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion .github/workflows/update-weblate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading