Skip to content

Commit

Permalink
Create translate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
15669072513 authored May 8, 2024
1 parent 8f391c2 commit 7f8bb81
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: translator
on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited]
discussion:
types: [created, edited]
discussion_comment:
types: [created, edited]
pull_request_target:
types: [opened, edited]
pull_request_review_comment:
types: [created, edited]

jobs:
translate:
permissions:
issues: write
discussions: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: lizheming/github-translate-action@main
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
IS_MODIFY_TITLE: false
APPEND_TRANSLATION: true

0 comments on commit 7f8bb81

Please sign in to comment.