Skip to content

Initial commit

Initial commit #8

Workflow file for this run

name: 'translator'

Check failure on line 1 in .github/workflows/translate.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/translate.yaml

Invalid workflow file

(Line: 21, Col: 15): Expected format {org}/{repo}[/path]@ref. Actual 'lizheming/github-translate-action'
on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited]
discussion:
types: [created, edited]
discussion_comment:
types: [created, edited]
jobs:
translate:
permissions:
issues: write
discussions: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: lizheming/github-translate-action
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
IS_MODIFY_TITLE: true
APPEND_TRANSLATION: true