Skip to content

v2.8

Latest

Choose a tag to compare

@cursor cursor released this 31 Oct 08:38
af53517

What's Changed

  • Remove hardcoded Issues-translate-bot PAT fallback; require BOT_GITHUB_TOKEN or workflow github.token (#109)
  • Detect mixed-language (e.g. Chinese+English) issue text as non-English so it still gets translated (#110, ports #103)
  • Rebuild dist/ so consumers pick up the above

Breaking / migration

Workflows that relied on the built-in bot token must now pass BOT_GITHUB_TOKEN (or github-token / github.token). Revoke any leaked classic PAT for Issues-translate-bot.

Use

name: issue-translator
on:
  issue_comment:
    types: [created]
  issues:
    types: [opened]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: dromara/issues-translate-action@v2.8
        with:
          BOT_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}