Skip to content

Commit

Permalink
Chore: add github issue translate action (secretflow#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
tongke6 authored Feb 17, 2025
1 parent 8ed4e6a commit 16e89f2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/translator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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: actions/checkout@v3
- uses: Ant-OSS-Utility-Set/github-issue-translate-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
IS_MODIFY_TITLE: true
APPEND_TRANSLATION: true

0 comments on commit 16e89f2

Please sign in to comment.