mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 12:17:53 +08:00
add issue translation robot (#2490)
This commit is contained in:
parent
34946f6105
commit
853b038a47
17
.github/workflows/issue-translator.yml
vendored
Normal file
17
.github/workflows/issue-translator.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
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: 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. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
|
Loading…
Reference in New Issue
Block a user