Check for duplicates
Problem
we've had changes submitted to message files in the wrong format which can mess up the translatewiki sync and result in those changes being overwritten.
Request
Add a validation workflow that runs on every PR, and does checks to ensure that the only changes made to files in msg/json/*.json are ones that result from having made a change to msg/messages.js and then run npm run messages (which can update files as described here)
This workflow will catch instances where authors either incorrectly try to add a new localization token or we get PRs from folks trying to update translations instead of going through translatewiki
This workflow should not run against PRs from the translatewiki branch since that branch should have updates to the other messages files.
Alternatives considered
No response
Additional context
No response
Check for duplicates
Problem
we've had changes submitted to message files in the wrong format which can mess up the translatewiki sync and result in those changes being overwritten.
Request
Add a validation workflow that runs on every PR, and does checks to ensure that the only changes made to files in
msg/json/*.jsonare ones that result from having made a change tomsg/messages.jsand then runnpm run messages(which can update files as described here)This workflow will catch instances where authors either incorrectly try to add a new localization token or we get PRs from folks trying to update translations instead of going through translatewiki
This workflow should not run against PRs from the
translatewikibranch since that branch should have updates to the other messages files.Alternatives considered
No response
Additional context
No response