Skip to content

Commit

Permalink
ci: update translator bot
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Mar 29, 2024
1 parent 6e3e0c3 commit f7cfb5b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/gh-translator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'gh-translator'

on:
issues:
types: [opened]
pull_request:
types: [opened]
issue_comment:
types: [created, edited]
discussion:
types: [created, edited, answered]
discussion_comment:
types: [created, edited]

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...
16 changes: 0 additions & 16 deletions .github/workflows/issue-translator.yml

This file was deleted.

0 comments on commit f7cfb5b

Please sign in to comment.