增加一个只搜索笔记但不回答的AI功能 || Add an AI function that only searches notes but does not answer #74
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: '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] | |
workflow_dispatch: | |
jobs: | |
translate: | |
permissions: | |
issues: write | |
discussions: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: lizheming/github-translate-action@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
IS_MODIFY_TITLE: true | |
APPEND_TRANSLATION: true |