Skip to content

Commit f7cfb5b

Browse files
committed
ci: update translator bot
1 parent 6e3e0c3 commit f7cfb5b

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.github/workflows/gh-translator.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: 'gh-translator'
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
pull_request:
7+
types: [opened]
8+
issue_comment:
9+
types: [created, edited]
10+
discussion:
11+
types: [created, edited, answered]
12+
discussion_comment:
13+
types: [created, edited]
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: usthe/[email protected]
20+
with:
21+
BOT_GITHUB_TOKEN: ${{ secrets.GH_TRANSLATOR_TOKEN }}
22+
IS_MODIFY_TITLE: true
23+
CUSTOM_BOT_NOTE: 🤖 Non-English text detected, translating...

.github/workflows/issue-translator.yml

-16
This file was deleted.

0 commit comments

Comments
 (0)