Skip to content

Commit

Permalink
🚚 Resolve Weblate conflicts script doesn't lock properly (#5496)
Browse files Browse the repository at this point in the history
The "lock" command was correct for the daily Weblate job, but I forgot
to update it for the on-demand "resolve conflicts" job.
  • Loading branch information
rix0rrr authored May 1, 2024
1 parent 22bfde8 commit 3bd2c8c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/resolve-weblate-conflict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,13 @@ jobs:
# Weblate will be unlocked when the PR is merged.
- name: Prevent updates and merge conflicts until merged
run: |
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
# On our repo, 'wlc reset' consistently times out the TCP connection after waiting
# for 5 minutes. The actual reset does seem to work, so we just don't wait for the
# command to finish, otherwise all our workflow executions show errors.
wlc reset &
sleep 10
sleep 10

0 comments on commit 3bd2c8c

Please sign in to comment.