Skip to content

Commit 6c0ec55

Browse files
committed
chore(agents): add post-push PR status check rule
Require checking PR for conflicts and CI status immediately after pushing to prevent issues only surfacing remotely.
1 parent b57b968 commit 6c0ec55

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ cp -r doc/* {cloudbase-docs dir}/docs/ai/cloudbase-ai-toolkit/
225225
- `git push github HEAD`
226226
3. 然后自动创建 PR。
227227
4. 创建 PR 后先等待几分钟,再检查 review 评论和 CI;如果有可执行的问题,继续在同一分支修复并更新 PR。
228+
5. **每次推送代码到 PR 分支后,必须立即检查 PR 状态**:包括是否有冲突(`This branch has conflicts that must be resolved`)、CI 是否通过、机器人评论是否已解决。不要假设推送后万事大吉,冲突和 CI 失败往往只在远程才暴露。
228229
</git_push>
229230

230231
<skills_and_rules_maintenance>

0 commit comments

Comments
 (0)