Skip to content

fix(pr): Check the scope in a pr create dry run - #5797

Merged
dan-petty merged 3 commits into
mainfrom
fix/5178-check-the-title-in-a-pr-create-dry-run
Nov 15, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/5178-check-the-title-in-a-pr-create-dry-run

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

devops pr create --dry-run skipped the labels file, so it passed a title whose scope had no label and the real run then refused. The dry run also said Opened for a run that opened nothing. In a dry run in the checkout of the target repository, _form_checked now reads .github/labels.yml of the checkout and refuses a scope with no label as the real run does. A dry run with --repo names the labels read in its plan, because it cannot read the file of another repository. The heading now says Would open a draft pull request into and states that the real run checks the title, the body and the labels.

Closes #5178

Change: openspec/changes/archive/2026-11-15-5178-check-the-title-in-a-pr-create-dry-run/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/pr The devops pr commands labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 07:12
@dan-petty
dan-petty merged commit 3d5a4d5 into main Nov 15, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/5178-check-the-title-in-a-pr-create-dry-run branch November 15, 2026 12:16
dan-petty pushed a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.152.0](v0.151.0...v0.152.0)
(2026-11-15)


### Features

* **cli:** fail a hidden title that ships runtime code
([#5808](#5808))
([22b36c6](22b36c6))
* **docs:** Check the ASD-STE100 rules with Vale
([#5796](#5796))
([79920b1](79920b1)),
closes [#5157](#5157)
* **roadmap:** scaffold makes, resumes or adopts the item branch
([#5795](#5795))
([c377e5a](c377e5a)),
closes [#5499](#5499)


### Bug Fixes

* **ai:** retry a reset in the answer read of a pydantic-ai agent run
([#5811](#5811))
([43022d0](43022d0))
* **ai:** Set the Jev window from the model data
([#5804](#5804))
([5ba1a5c](5ba1a5c))
* **infra:** Resolve a relative repos base dir from the main worktree
([#5801](#5801))
([6bd905a](6bd905a))
* **monitoring:** Start Grafana without the renderer token
([#5803](#5803))
([dcb6840](dcb6840))
* **pr:** Check the scope in a pr create dry run
([#5797](#5797))
([3d5a4d5](3d5a4d5))
* **security:** Judge KSV-0121 with a dated ignore entry
([#5800](#5800))
([7981f47](7981f47)),
closes [#5793](#5793)
* **telemetry:** Send the group body histogram point
([#5798](#5798))
([515689d](515689d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/pr The devops pr commands type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(pr): pr create --dry-run checks the title form

1 participant