fix(repo-assist): remove title-prefix restriction from push-to-pull-request-branch
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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)
- Linguagem predominante
- Python
- Estrelas
- 1.1k
- Forks
- 163
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de githubnext/agentics
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
githubnext/agentics#420 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 1/100
githubnext/agentics#419 ·
-
FrontendAberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 1/100
githubnext/agentics#418 ·
-
[aw] Detection RunsAbertaagentic-workflows
Dificuldade 2/5 Menos de uma hora Facilidade para iniciantes 8/100
githubnext/agentics#415 · 1 comentário ·
Todas as issues de githubnext/agentics
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
bad-antics/lateralus-lang#1489 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 69/100
anderspitman/awesome-tunneling#330 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
scikit-hep/coffea#1668 ·