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

feat: add unused translations check to CI #938

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add unused translations check to CI

This PR adds a new check to detect unused translation keys in the codebase. This helps maintain clean translation files by ensuring we don't have any unused keys.

Changes

  • Add script to detect unused translation keys (scripts/checkUnusedTranslations.mjs)
  • Add npm script command to run the check (pnpm check:unused-translations)
  • Integrate check into knip CI workflow

Testing

  • The script will fail the build if any unused translation keys are found
  • The check runs as part of the knip workflow

Link to Devin run: https://app.devin.ai/sessions/8f1a2837635c4634ac0fec5da553cc3d

- Add script to detect unused translation keys
- Add npm script command to run the check
- Integrate check into knip CI workflow

Co-Authored-By: Leon Talbert <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link

cloudflare-workers-and-pages bot commented Jan 28, 2025

Deploying ens-app-v3 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 854a1ac
Status: ✅  Deploy successful!
Preview URL: https://e63275c2.ens-app-v3.pages.dev
Branch Preview URL: https://devin-1738082904-add-unused.ens-app-v3.pages.dev

View logs

devin-ai-integration bot and others added 13 commits January 28, 2025 17:04
Copy link
Contributor Author

Devin is currently unreachable - the session may have died.

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants