Repository navigation
fix(ci): allow only declared scopes in pull request titles - #2846
Merged
Merged
Conversation
Plan the change that holds the scope of a pull request title to the scopes of .github/labels.yml, and declares the scopes that the project uses.
Declare the 15 scopes that titles use again and again. Set the scopes input of the Semantic PR title check to the scopes of .github/labels.yml, and hold the two lists equal with a test.
…id (#2800) The scope count covers the whole history of origin/main and the open issues. The implement job leaves out a scope that no label declares. Two title examples and the title check rows in the docs name declared scopes.
Owner
Author
|
Test results and review notes. Fail-to-pass run ( Full Review findings, all fixed:
|
dan-petty
marked this pull request as ready for review
October 31, 2026 06:55
…-for-git-and-agents # Conflicts: # src/devops_cli/roadmap/stage_change.py
dan-petty
pushed a commit
that referenced
this pull request
Oct 31, 2026
🤖 I have created a release *beep* *boop* --- ## [0.26.1](v0.26.0...v0.26.1) (2026-10-31) ### Bug Fixes * **ci:** allow only declared scopes in pull request titles ([#2846](#2846)) ([f6aea38](f6aea38)), closes [#2800](#2800) * **security:** remove pre-flight resolve paths for egress ([#2845](#2845)) ([6ebc968](6ebc968)), closes [#2437](#2437) --- 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>
5 tasks
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.
The
Semantic PR titlecheck now accepts only the scopes that.github/labels.ymldeclares, andmainfor the release pull request. Before, a scope was free text. A scope with no label gave a warning after the pull request was open, and the pull request got no scope label (#2800).What changes:
.github/labels.ymldeclares 22 more scopes that the project uses twice or more in the history oforigin/mainand the open issues..github/workflows/pr-title.ymllists the same scopes in thescopesinput of the title action. A test holds the two lists equal.roadmap-implement-jobrecords this.CONTRIBUTING.md,docs/SDLC.mdand the knowledge base say that a scope is a declared scope, and their title examples use declared scopes.Closes #2800