issue-translator.yml 829 B

12345678910111213141516171819
  1. name: 'issue-translator'
  2. on:
  3. issue_comment:
  4. types: [created]
  5. issues:
  6. types: [opened]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: usthe/issues-translate-action@v2.7
  12. with:
  13. BOT_GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
  14. IS_MODIFY_TITLE: true
  15. # not require, default false, . Decide whether to modify the issue title
  16. # if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot.
  17. CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿
  18. # not require. Customize the translation robot prefix message.