Repository navigation
feat(ci): pass static title scopes from the answers - #40
Merged
Merged
Conversation
pr-title.yml takes the required input scopes and checks out no file. It checks the pull request title only, and asks for pull-requests: read. The template caller renders the scopes from the answer scopes and passes the variable RUNNER. release-please keeps the major version at 0. BREAKING CHANGE: a caller of pr-title.yml must pass the input scopes, and the workflow no longer checks the commit subject of a pull request with one commit.
Owner
Author
|
Notes for the merge:
Live proof on this pull request:
|
dan-petty
marked this pull request as ready for review
November 30, 2026 18:58
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 30, 2026
🤖 I have created a release *beep* *boop* --- ## [0.4.0](v0.3.2...v0.4.0) (2026-11-30) ### Features * **ci:** pass static title scopes from the answers ([#40](#40)) ([d11457e](d11457e)), closes [#7](#7) --- 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 was referenced Nov 30, 2026
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.
pr-title.ymltakes the required inputscopesand checks out no file. The scope script goes. The job asks forpull-requests: readonly. It checks the title only, so a caller setssquash_merge_commit_titletoPR_TITLE. The template caller writesscopesfrom the answerscopesplusci,deps,docs,mainandspec, and passesvars.RUNNERasruns-on.This breaks callers: with no
scopes, the workflow does not start. A copier update writes the input. A hand-written caller, as ininfra, adds it with its pin update, or its required check blocks that update.devops-climust first fill its empty answerscopes. The release isv0.4.0(bump-minor-pre-major).Existing tool: the
scopesinput of action-semantic-pull-request.Proof: all 191 template cases pass. actionlint refuses a caller with no
scopes. Five public renders keep their scope list. Live here: scopecipassed, an unknown scope failed, and an unsetRUNNERgaveubuntu-26.04.Closes #7
Change:
openspec/changes/archive/2026-11-30-7-static-title-scopes/