Skip to content
 
 

Latest commit

 

History

84 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRysm

跨仓库接入

其他仓库只需要添加一个 workflow,就可以在 PR 触发时调用 Prysm 审查并回写评论。

name: Prysm PR Review

on:
  pull_request:
    types: [opened, synchronize, reopened]

permissions:
  contents: read
  pull-requests: read
  issues: write

jobs:
  review:
    uses: Remohdg/PRysm-hdg/.github/workflows/prysm-review-reusable.yml@main
    secrets:
      LLM_API_KEY: ${{ secrets.LLM_API_KEY }}

目标仓库需要在 Settings -> Secrets and variables -> Actions 中配置:

LLM_API_KEY

默认模型配置为千问兼容接口:

LLM_API_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL=qwen-plus

如需覆盖模型配置,可以在调用 workflow 时传入:

with:
  llm-api-base-url: https://dashscope.aliyuncs.com/compatible-mode/v1
  llm-model: qwen-plus

Workflow smoke test for PR review comment writeback.

Optimization defaults smoke test.

Test2 branch smoke test.

Test2 follow-up smoke test.

About

PRysm分支仓库

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages