fix(repo-assist): remove title-prefix restriction from push-to-pull-request-branch
評估
這個 Issue 還沒有評估資料。
描述
Problem
The repo-assist workflow has title-prefix: "[Repo Assist] " set on its push-to-pull-request-branch safe output:
safe-outputs:
push-to-pull-request-branch:
target: "*"
title-prefix: "[Repo Assist] "
max: 4
This configuration is self-contradictory. target: "*" says "push to any PR", but title-prefix: "[Repo Assist] " rejects every push to a PR whose title doesn't start with [Repo Assist] — which is every PR not originally created by Repo Assist.
Impact
When a user invokes /repo-assist to fix CI failures, address review comments, or update an open PR created by a human or another workflow, the agent correctly identifies the changes needed, generates the patch, and queues a push_to_pull_request_branch operation. The safe_outputs job then silently rejects it with:
✗ Message 1 (push_to_pull_request_branch) failed: Pull request title "[other-workflow] ..."
does not start with required prefix "[Repo Assist] "
The user gets no useful feedback, and the fix is never applied.
Root Cause
title-prefix on push-to-pull-request-branch was likely copied from create-pull-request where it makes sense (to namespace PRs Repo Assist creates). On push-to-pull-request-branch it has the opposite effect — it prevents Repo Assist from pushing to PRs it didn't create, which is precisely the on-demand use case.
Fix
Remove title-prefix from push-to-pull-request-branch in workflows/repo-assist.md:
safe-outputs:
push-to-pull-request-branch:
target: "*"
max: 4
title-prefix should remain on create-pull-request where it namespaces new PRs correctly. The max: 4 cap and existing protected-files guardrails already provide the right safety boundary for pushes.
Issue filed by Claude (Anthropic)
- 主要語言
- Python
- 星號
- 1.1k
- 分支
- 163
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
githubnext/agentics 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 88/100
githubnext/agentics#420 ·
-
難度 2/5 1-3 小時 新手友好度 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
難度 1/5 1 小時以內 新手友好度 1/100
githubnext/agentics#419 ·
-
Frontend未關閉
難度 5/5 一週以上 新手友好度 1/100
githubnext/agentics#418 ·
-
agentic-workflows
難度 2/5 1 小時以內 新手友好度 8/100
githubnext/agentics#415 · 1 則留言 ·
查看 githubnext/agentics 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
bad-antics/lateralus-lang#1489 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 66/100
-
難度 1/5 1 小時以內 新手友好度 69/100
anderspitman/awesome-tunneling#330 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
scikit-hep/coffea#1668 ·