-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Create check for out of date translated files #2726
Conversation
Gatsby Cloud Build Reportdocs-website-develop 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 11m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks great! I added 2 small comments, but neither of them are required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
This PR includes a workflow job which will add a required check on PRs to develop and main.
The check will find translated files that don't have an english counterpart, for instance: if an english file is deleted, any translations for the file should also be deleted.
Instead of deleting the files via the workflow we decided to make a failable check which will remind contributors to clean up any translated files that should no longer exist.
TODO:
Closes #2323