fix:根据id查询数据时,如id为空值会导致查询结果可能为多条记录引发TooManyResultsException问题修复 #71
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'issue-translator' | |
| on: | |
| issue_comment: | |
| types: [created] | |
| issues: | |
| types: [opened] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: usthe/issues-translate-action@v2.7 | |
| with: | |
| IS_MODIFY_TITLE: false | |
| # 非必须,决定是否需要修改issue标题内容 | |
| # 若是true,则机器人账户@Issues-translate-bot必须拥有修改此仓库issue权限。可以通过邀请@Issues-translate-bot加入仓库协作者实现。 | |
| CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. | |
| # 非必须,自定义机器人翻译的前缀开始内容。 |