Skip to content

chore(github): require the library title check on main #7954

Backlog

Description

@dan-petty

Problem or Motivation

#7948 added the check PR title / Semantic PR title of .github/workflows/pr-title.yml to each pull request into main. The live ruleset main (21466414) does not require it. It requires Static Analysis, Tests & Coverage and Semantic PR title. The file github/repository.yaml already declares the new check.

So the repository holds two title checks and two scope lists: the Copier answer scopes and the list in .github/workflows/pr-checks.yml. No automatic check holds the two lists equal.

Proposed Solution & Architectural Design

Only a person changes a ruleset.

  1. Give each pull request that was open at the merge of refactor(ci): render the title workflow from the template #7948 a new head, and confirm that PR title / Semantic PR title reports on it. On 2026-11-30 these were feat(ci): Static Analysis runs the commit hygiene hooks #7929, chore(deps): update python dependencies (minor) #7937 and fix(monitoring): skip the design rules for upstream dashboard copies #7947. For each one: uv run devops gh api -X PUT repos/dan-petty/devops-cli/pulls/<number>/update-branch.
  2. Open https://github.com/dan-petty/devops-cli/rules/21466414. Under "Require status checks to pass", add PR title / Semantic PR title from GitHub Actions. Keep Semantic PR title.
  3. Read the result: uv run devops gh api repos/dan-petty/devops-cli/rulesets/21466414 --jq '.rules[] | select(.type=="required_status_checks") | .parameters.required_status_checks'.

If the check is required before a pull request reports it, that pull request waits until it has a new head.

After this step, a later change can delete the second scope list from pr-checks.yml. The job Semantic PR title then keeps its name and its guard against a hidden type with runtime code.

Target Subsystem

SDLC, Git & PR Governance

Existing Tool Considered

GitHub rulesets cover the need. The change builds nothing.

Source

Source: #7948

Alternatives check of 2026-11-30: not-applicable.
Class: chore, no model call.
Tool: none found.

Activity

  1. added
    type/chore
    scope/github
    source/agent
    status/new
    value/medium
    on Nov 30, 2026
  2. dan-petty commented on Nov 30, 2026

    @dan-petty
    OwnerAuthor
  3. added
    effort/low
    priority/p2-medium
    on Nov 30, 2026
  4. devops-cli-service commented on Dec 1, 2026

    @devops-cli-service
    Contributor

    Next step: this item cannot be built as written. Edit the body to run refine again.

    Reason: The whole issue is a live change of the GitHub ruleset main and a new head on three pull requests. Only a person changes a ruleset. The file github/repository.yaml already declares the check, so no repository change is left for a pull request.

    Evidence: github/repository.yaml holds - context: PR title / Semantic PR title with integration_id: 15368 under required_status_checks. Issue body: "Only a person changes a ruleset." AGENTS.md: "Only a person ... changes secrets, repository settings and hardware."

  5. dan-petty commented on Dec 1, 2026

    @dan-petty
    OwnerAuthor

    Wait for dan-petty/github-workflows#70 before you require the library check. #8045 moves this repository to the commitizen defaults (any scope, a first line of at most 72 characters). The library check still holds a scope list and a 60 character summary, so it refuses titles that the new rules accept.

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-mediumscope/githubsource/agentstatus/newtype/chorevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions