Repository navigation
fix(pr): pr create adds the labels of the title - #2782
Merged
Merged
Conversation
This reverts commit 8e5697985094fa96edd7a8f2b4ea394fd91c481e.
…els (#2748) The warning for a scope with no label now goes to stderr. A dry run lists the read of the labels file and the label requests of the title. The error for a label that was not added names the command that adds it by hand. A test runs the label audit on a pull request that the command labeled.
Owner
Author
Test results
Review findings fixed
Declined or noted
|
dan-petty
marked this pull request as ready for review
October 30, 2026 14:33
dan-petty-release Bot
added a commit
that referenced
this pull request
Oct 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.22.4](v0.22.3...v0.22.4) (2026-10-30) ### Bug Fixes * **pr:** pr create adds the labels of the title ([#2782](#2782)) ([7183af3](7183af3)), closes [#2748](#2748) * **roadmap:** refused shell programs name their replacement ([#2783](#2783)) ([0458f8f](0458f8f)), closes [#2773](#2773) * **roadmap:** restore the own group text in an implement step ([#2780](#2780)) ([163a840](163a840)), closes [#2774](#2774) * **security:** lock joserfc at 1.7.7 ([#2787](#2787)) ([0b9f9e5](0b9f9e5)), closes [#2786](#2786) --- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
devops pr create now gives the new pull request the labels that its Conventional Commit title gives, with the rule of intake. fix(ai) gives type/bug and scope/ai. The labels file is read from the base branch of the repository, so --repo works.
A scope that .github/labels.yml does not declare gets no label and a warning on stderr. If a label cannot be added, the command names the pull request, the labels and the reason, tells how to add a label by hand, and exits 1. The pull request stays open and its Status is still set. A dry run lists the label requests and sends none.
The rule is one function, title_labels, which intake uses too. The stage and implement jobs are not part of this change. Issue #2777 covers them.
Closes #2748