peppa/openspec/changes/pep-93-empty-pr-accept/specs/delivery-pipeline/spec.md
Асель 20031adc08 PEP-93: Accept closes a PR whose commits are already in main instead of failing with 405
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 13:33:41 +05:00

9 lines
772 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## ADDED Requirements
### Requirement: Приёмка PR, уже вошедшего в основную ветку
«Принять» и автомерж SHALL принимать стори, чьи коммиты уже в основной ветке (вошли с другим PR), закрывая её пустой PR с пояснением вместо мержа.
#### Scenario: Ветка следующей стори унесла коммиты
- **WHEN** PM жмёт «Принять» у стори, в PR которой нет коммитов сверх основной ветки
- **THEN** PR закрывается с комментарием «уже в main», стори переходит в «Готово», ошибки Gitea PM не видит