jz0ojiang/PR Scribe
自动从 PR 的 commit 消息生成变更日志并发布评论
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GitHub Token 用于发布评论 | no | — |
| base_ref | 基准分支 (默认为 PR 的 base branch) | no | — |
| head_ref | 目标分支 (默认为当前 HEAD) | no | — |
| use_ai | 是否使用 AI 生成变更日志 | no | false |
| openai_api_key | OpenAI API Key (use_ai=true 时必填) | no | — |
| openai_api_base | OpenAI API Base URL | no | — |
| openai_model | OpenAI 模型名称 | no | gpt-4o-mini |
| prompt | 自定义 AI 生成 prompt | no | — |
Outputs
| name | description |
|---|---|
| changelog | 生成的变更日志内容 |
| comment_id | 发布的评论 ID |