Skip to content

Conversation

@jsrcode
Copy link
Collaborator

@jsrcode jsrcode commented Dec 22, 2025

问题描述

PR #68 测试时发现 PR Check Comment workflow 执行成功但没有发布评论

根本原因:workflow_run 事件的 pull_requests 数组为空,导致无法获取 PR 号。

解决方案

  1. pr-check.yml:在 state.json 中添加 pr_number 字段
  2. pr-check-comment.yml:从 artifact 中提取 PR 号作为回退方案

测试计划

相关 PR

@jsrcode jsrcode merged commit 65c8ee0 into DuckCoding-dev:main Dec 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant