-
Notifications
You must be signed in to change notification settings - Fork 0
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
Detect if translation files have changed #3
Comments
@niklas.buchfink also take into consideration the default merge that happens in github actions usually. as i understand the actions run on a simulated merge of the current branch into the basebranch, not on the tip of the branch they are configured on. in this scenario im not sure why there would be lint errors as the main branch merge would have the fixed translation. maybe your action does something not according to the configured merge strategy in github action? |
@jan.johannes No merge is really simulated in Ninja. It just checks out the branches, collects all reports and compares if there are new ones in the branch. |
Comparing the target to a merge simulation of the head with the head/target seems to make sense. |
@jan.johannes I'm currently working on this. Can you elaborate how I can access the default merge. I would like to check this out and compare it with |
Because of the |
Problem
refactor/api
that is unrelated to UI translationsmain
refactor/api
Why?
Compared to
main
,refactor/api
now has new lint errors. This could be fixed by mergingmain
intorefactor/api
, but I don't care about translations because I'm working on something completely different.Proposal
Ninja needs to check if the branch contains updated translation files. Only if there are changes in this branch it makes sense to create a comment.
The text was updated successfully, but these errors were encountered: