[BUG] In the case of new deployment, when obtaining an administrator token and obtaining a user token, an auth error will appear and the service will crash. #814
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'issue-translator' | |
on: | |
issue_comment: | |
types: [created] | |
issues: | |
types: [opened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: usthe/[email protected] | |
with: | |
BOT_GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
IS_MODIFY_TITLE: true | |
# not require, default false, . Decide whether to modify the issue title | |
# if true, the robot account @Issues-translate-bot must have modification permissions, invite @Issues-translate-bot to your project or use your custom bot. | |
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ | |
# not require. Customize the translation robot prefix message. |