Skip to content

Commit 765b420

Browse files
authored
ci: create translate.yml (#3699)
* Create translate.yml * Update .github/workflows/translate.yml * Update translate.yml
1 parent 7303e9a commit 765b420

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/translate.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Translation Helper
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
issues:
7+
types: [opened]
8+
9+
jobs:
10+
translate:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: issue
14+
if: github.event_name == 'issues'
15+
uses: actions-cool/[email protected]
16+
17+
- name: pr
18+
if: github.event_name == 'pull_request_target'
19+
uses: actions-cool/[email protected]
20+
with:
21+
translate-body: false

0 commit comments

Comments
 (0)