Skip to content

ci(pr-title): a hidden-type title fails when src code changes #5224

Closed

Description

@dan-petty

Problem or Motivation

On 2026-11-12, #5198 merged with the title docs(cli): .... It changed runtime code under src/devops_cli/: it deleted devops docs --sync-readme and changed the docs command that the implement step runs. release-please-config.json marks docs as a hidden changelog type, so release-please opened no release pull request, and the Service image stays at 0.123.0. The implement job runs the devops of its checkout with the argv of the Service image, so an implement run on the new main fails at its docs step until the next feat or fix merges and its release rolls out. The commit type, not the content, decided that the code change does not ship.

Proposed Solution & Architectural Design

The PR title check (.github/workflows/pr-title.yml) fails a pull request whose title type is hidden in release-please-config.json (docs, test, build, ci, style, chore) when the pull request changes a file under src/devops_cli/ that is not package data of documents (for example *.md under the knowledge base). The message names the releasable types (feat, fix, perf, refactor, revert) and the changed paths. The list of hidden types is read from release-please-config.json, not copied.

Target Subsystem

CI (.github/workflows/pr-title.yml and its script).

Existing Tool Considered

The existing title check and the changelog-sections of release-please-config.json. No new tool.

Acceptance Criteria

  • A test: a docs(cli) title with a change under src/devops_cli/commands/ fails; with a change only under docs/ or the knowledge base *.md, it passes; a refactor(cli) title with the same code change passes.
  • The hidden types come from release-please-config.json (a test changes the fixture config and the result follows).
  • CONTRIBUTING.md (pull request titles) states the rule.

Related

#5198, #5163.

Source: #5198

Activity

  1. added
    source/agent
    type/infra
    status/new
    value/medium
    effort/low
    on Nov 12, 2026
  2. dan-petty commented on Nov 12, 2026

    @dan-petty
    OwnerAuthor
    • Scope: none. The title has the scope pr-title, and .github/labels.yml declares no scope/pr-title label. Add the label to the file to give the scope to this item.
    • Related: feat(pr): build and check the title and body of a pull request #3198, which asks for a different change. Both concern PR title validation, but #3198 adds format checks in the CLI tool while the candidate adds a CI workflow check that rejects hidden-type titles when src code changes.
  3. added
    priority/p2-medium
    status/in-progress
    and removed
    status/new
    on Nov 12, 2026
  4. added
    status/in-review
    and removed
    status/in-progress
    on Nov 15, 2026
  5. removed
    status/in-review
    on Nov 15, 2026
  6. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor
  7. devops-cli-service commented on Nov 15, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-15 12:41 UTC

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/agenttype/infravalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions