fix: Application workflow debug use --bug=1059999 --user=张展玮 【资源管理】继承系统管理员角色的用户,在资源管理中调试应用无权限 https://www.tapd.cn/62980211/s/1749113 #1066
Workflow file for this run
This file contains hidden or 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: LLM Code Review | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| llm-code-review: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: fit2cloud/LLM-CodeReview-Action@main | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.FIT2CLOUDRD_LLM_CODE_REVIEW_TOKEN }} | |
| OPENAI_API_KEY: ${{ secrets.ALIYUN_LLM_API_KEY }} | |
| LANGUAGE: English | |
| OPENAI_API_ENDPOINT: https://dashscope.aliyuncs.com/compatible-mode/v1 | |
| MODEL: qwen2.5-coder-3b-instruct | |
| PROMPT: "Please check the following code for any irregularities, potential issues, or optimization suggestions, and provide your answers in English." | |
| top_p: 1 | |
| temperature: 1 | |
| # max_tokens: 10000 | |
| MAX_PATCH_LENGTH: 10000 | |
| IGNORE_PATTERNS: "/node_modules,*.md,/dist,/.github" | |
| FILE_PATTERNS: "*.java,*.go,*.py,*.vue,*.ts,*.js,*.css,*.scss,*.html" |