请求参数如果是bool型,false会被解析为true,只有0才会解析为false #4605
This file contains 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
# https://github.com/usthe/issues-translate-action | |
name: 'Issue Translator' | |
on: | |
issue_comment: | |
types: [created] | |
issues: | |
types: [opened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: usthe/[email protected] | |
with: | |
IS_MODIFY_TITLE: true | |
# not require, default false. Decide whether to modify the issue title | |
# if true, the robot account @Issues-translate-bot must have modification permissions, | |
# invite @Issues-translate-bot to your project or use your custom bot. | |
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿 |