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

I18n ci 5 #10247

Merged
merged 4 commits into from
Feb 17, 2025
Merged

I18n ci 5 #10247

merged 4 commits into from
Feb 17, 2025

Conversation

FelixMalfait
Copy link
Member

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR modifies the i18n translation workflow by adding a stash step before pulling translations from Crowdin, which could impact translation synchronization.

  • Added git stash step in .github/workflows/i18n-pull.yaml that may lead to lost changes since stashed content is never restored
  • Missing error handling for stash operation failures in .github/workflows/i18n-pull.yaml
  • No conditional check before stashing to verify if there are actual changes to preserve
  • Workflow lacks handling for potential merge conflicts during stash operation

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines 67 to 68
git add .
git stash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider checking if there are changes to stash before running git stash

Suggested change
git add .
git stash
if ! git diff --quiet; then
git stash
fi

@FelixMalfait FelixMalfait merged commit 896ff1d into main Feb 17, 2025
10 checks passed
@FelixMalfait FelixMalfait deleted the i18n-ci-5 branch February 17, 2025 10:42
eliezer-rodrigues037 pushed a commit to mind-developer/kvoip-v2 that referenced this pull request Feb 17, 2025
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.

1 participant