[Bug] 多Windows用户的状态下,无管理员权限的用户每次都需要管理员权限用户 #152
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: Review Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
review: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate Token | |
uses: tibdex/github-app-token@v2 | |
id: generate | |
with: | |
app_id: ${{ secrets.BOT_APP_ID }} | |
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | |
- name: Review Issues | |
uses: mihomo-party-org/[email protected] | |
with: | |
github_token: ${{ steps.generate.outputs.token }} | |
openai_base_url: ${{ secrets.OPENAI_BASE_URL }} | |
openai_api_key: ${{ secrets.OPENAI_API_KEY }} | |
openai_model: ${{ vars.OPENAI_MODEL }} | |
system_prompt: ${{ vars.SYSTEM_PROMPT }} | |
available_tools: ${{ vars.AVAILABLE_TOOLS }} | |
user_input: | | |
请审查如下 Issue: | |
标题:"${{ github.event.issue.title }}" | |
内容:"${{ github.event.issue.body }}" |