Skip to content

ci: check PR titles in every CI gate #49

Closed
7 of 7 issues completed
Closed

Description

@uniqueg

Problem

The org's contributing rules require Conventional Commits pull request titles of at most 50 characters (they become the squash-merge commit messages), and this repository provides the shared pr-title action for it. Only cloud-components and this repository check titles, in their ci.yml under the gate CI passed (cloud-components #515, PR #518). The other repositories don't check them at all, and landing-page has no gate either (checked 2026-11-01).

Plan

One child issue per repository: add a title job ("PR title") to ci.yml, as in cloud-components, and make the gate need it:

  • pull_request also on edited, so that the check follows the title; the concurrency group keeps edits that don't change the title from cancelling the run for the commit (copy the expression from cloud-components).
  • The job runs only on pull requests and skips Dependabot unless someone else edits the title; permissions: {}; the action pinned to the commit of the latest release of this repository with the version comment.
  • The gate lists title in needs and allows it to be skipped.
  • Docs: the repository's contributing or development docs mention the check (one line).

Light lane (CI change without secrets, permissions or release workflow). The required check stays CI passed, so no ruleset change is needed, except for landing-page, which gets its gate first (the maintainer then switches its ruleset to require only CI passed).

Afterwards: revisit the workflow templates (workflow-templates/pr-title.yml still describes a separate workflow).

Closes with the last child issue.

Sub-issues

Sub-issues

7 of 7 Issues completed
Loading 7 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype flag: metatype: ci / cdworkload: days

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions