Skip to content

docs: correct the title check text for the shared workflow #149

Backlog

Description

@dan-petty

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 answer scopes, plus ci, deps, docs, main and spec. 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_title PR_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.md names 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.yml paragraph of README.md.
  • THEN The paragraph contains the scopes input and lists image, infra, security, ci, deps, docs, main and spec, and it contains no scope/* 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.yml paragraph of README.md.
  • THEN The paragraph does not contain one commit or subject 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.yml paragraph of README.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, infra and security from the Copier answer scopes, plus the fixed scopes ci, deps, docs, main and spec. (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 scopes input of the workflow lists these eight scopes for this repository.
    • Rejected: The scope/* labels of .github/labels.yml. The v0.4.0 workflow reads the scopes input. It reads no labels file.
  • Does a squash merge take a commit subject that differs from the pull request title?: No. github/repository.yaml:15 sets squash_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_TITLE makes 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.
  • Which file holds the wrong text?: README.md, in the CI section paragraph that names pr-title.yml. [sources: README.md]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/docs
    status/new
    value/low
    effort/low
    on Nov 30, 2026
  2. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor
  3. added
    source/agent
    priority/p2-medium
    on Nov 30, 2026
  4. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Owner question: See Suspected block and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  5. added
    status/ready
    and removed
    status/new
    on Nov 30, 2026
  6. devops-cli-service commented on Nov 30, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumsource/agentstatus/readytype/docsvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions