Skip to content

Commit

Permalink
ci: add a bot that translates non-English issues
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Mar 29, 2024
1 parent ab69eec commit 6e3e0c3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/issue-translator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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:
BOT_GITHUB_TOKEN: ${{ secrets.GH_TRANSLATOR_TOKEN}}
IS_MODIFY_TITLE: true
CUSTOM_BOT_NOTE: Non-English text detected, translating...

0 comments on commit 6e3e0c3

Please sign in to comment.