-
Notifications
You must be signed in to change notification settings - Fork 130
ci(lang): manual sync to crowdin #350
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
base: main
Are you sure you want to change the base?
Conversation
|
那得 @dezhishen |
|
我看着没啥问题,等他看看 |
| - name: Check for changes and stage | ||
| id: verify-changed-files | ||
| run: | | ||
| cp -f ./backend/lang/*.json ./src/lang/en/ 2>/dev/null || : | ||
| if git diff --quiet HEAD -- src/lang/en/; then | ||
| echo "No changes detected in src/lang/en/" | ||
| echo "changed=false" >> $GITHUB_OUTPUT | ||
| else | ||
| echo "Changes detected in src/lang/en/" | ||
| git add src/lang/en/ | ||
| echo "changed=true" >> $GITHUB_OUTPUT | ||
| fi |
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.
我觉得没同步上更多是这部分的问题,得仔细检查一下,实在不行加个 input 跳过这个检测。拆成两个 workflows 没必要。
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.
这部分我在 OpenListTeam/OpenList#1881 改了,拆出来的手动的那个主要用来把 #349 同步上去,之后用不太到,只是用来预防类似的问题
Description / 描述
github actions 不太懂,需要看看对不对。
Motivation and Context / 背景
How Has This Been Tested? / 测试
Checklist / 检查清单
我已阅读 CONTRIBUTING 文档。
go fmtor prettier.我已使用
go fmt或 prettier 格式化提交的代码。我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
我已相应更新了相关仓库(若适用)。