Repository navigation
Description
Problem
README.md says about the workflow pr-title.yml that the scope is one of the scope/* labels of .github/labels.yml or main, and that for a pull request with one commit the workflow also checks the subject of the commit.
The template release that holds dan-petty/github-workflows#40 (v0.4.0) changes both:
- The check accepts the scopes that the caller passes in the input
scopes, which the template renders from the Copier answerscopes, plusci,deps,docs,mainandspec. It reads no labels file. - The check reads the title only. This repository takes the squash subject from the pull request title (
squash_merge_commit_titlePR_TITLE), so the sentence about one commit is also wrong today.
Change
Correct this text of README.md after the update to that template release merges.
Existing tool considered
None. The change is a document correction.
Done when
README.mdnames the scopes of the caller and no check of a commit subject.
Source
Source: dan-petty/github-workflows#40
Alternatives check of 2026-11-30: not-applicable.
Class: docs, no model call.
Tool: none found.
Proposed design
Problem statement
The CI section of README.md describes the old pr-title.yml check. It says that the scope is one of the scope/* labels of .github/labels.yml or main. It also says that a pull request with one commit gets a check of the commit subject. The shared workflow v0.4.0 reads the scopes input and the title only. The repository already pins v0.4.0. The change corrects the paragraph.
Acceptance criteria
Requirement: Title check scopes
README.md SHALL state that pr-title.yml accepts the scopes in the scopes input of the caller and list image, infra, security, ci, deps, docs, main and spec.
Scenario: The scope sentence of the title check
- WHEN A documentation check reads the
pr-title.ymlparagraph ofREADME.md. - THEN The paragraph contains the
scopesinput and listsimage,infra,security,ci,deps,docs,mainandspec, and it contains noscope/*label text.
Requirement: No commit subject check
README.md SHALL NOT state that pr-title.yml checks the subject of a commit.
Scenario: The commit subject sentence
- WHEN A documentation check reads the
pr-title.ymlparagraph ofREADME.md. - THEN The paragraph does not contain
one commitorsubject of the commit.
Requirement: The summary limit stays
README.md SHALL keep the statement that the title has a Conventional Commit summary of at most 60 characters.
Scenario: The summary limit of the title check
- WHEN A documentation check reads the
pr-title.ymlparagraph ofREADME.md. - THEN The paragraph contains
at most 60 characters.
Existing Tool Considered
The alternatives check of 2026-11-30 in the issue body records the verdict not-applicable and names no tool. The change corrects prose in README.md and builds no code. No open tool or library covers the need, and no build cost applies.
Key questions
- Does the repository already run the v0.4.0 template release?: Yes. The caller pins
dan-petty/github-workflows/.github/workflows/pr-title.yml@7af43311163a85115014ed2cefa152470f5b1cce # v0.4.0. [sources: .github/workflows/pr-title.yml] - Which scopes does the corrected paragraph name?: It names the caller scopes
image,infraandsecurityfrom the Copier answerscopes, plus the fixed scopesci,deps,docs,mainandspec. (best practice) [sources: .github/workflows/pr-title.yml, .copier-answers.yml:16, .github/labels.yml:4]- Chosen: The caller scopes plus the fixed scopes. The
scopesinput of the workflow lists these eight scopes for this repository. - Rejected: The
scope/*labels of.github/labels.yml. The v0.4.0 workflow reads thescopesinput. It reads no labels file.
- Chosen: The caller scopes plus the fixed scopes. The
- Does a squash merge take a commit subject that differs from the pull request title?: No.
github/repository.yaml:15setssquash_merge_commit_title: PR_TITLE. The squash subject is the pull request title. [sources: github/repository.yaml:15] - Does the corrected paragraph keep the sentence about the subject of one commit?: No. The change removes it. The repository sets the squash subject from the pull request title, and the v0.4.0 check reads the title only. (best practice) [sources: github/repository.yaml:15, .github/workflows/pr-title.yml, README.md]
- Chosen: Remove the sentence.
PR_TITLEmakes the squash subject equal to the title. The check reads the title only. - Rejected: Keep the sentence. It states a check of a commit subject that this repository does not have.
- Chosen: Remove the sentence.
- Which file holds the wrong text?:
README.md, in the CI section paragraph that namespr-title.yml. [sources: README.md]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 30, 2026
Both correct text in README.md, but this item fixes the pr-title workflow section while 146 fixes the Releases section.devops-cli-service commentedon Nov 30, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 30, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.