Skip to content

feat(core): check the form of PR titles - #181

Open
epenet wants to merge 4 commits into
OpenHomeFoundation:mainfrom
epenet:title-1-form
Open

epenet wants to merge 4 commits into
OpenHomeFoundation:mainfrom
epenet:title-1-form

Conversation

@epenet

@epenet epenet commented Nov 25, 2026 •

Copy link
Copy Markdown

Proposed change

Reviewers keep renaming core PRs by hand. This adds a "PR title" check to the core dashboard. It fails titles with:

Of 499 recently merged core PRs, 15 would have failed: 11 for length and 4 for a domain: prefix.

Like "Type of change", the author can fix it by editing the PR, or waive it with ignore. It runs on opened, reopened, edited, synchronize and on demand, so the row clears when the title is fixed. Bot PRs, release PRs and reverts are skipped. PullRequest gains title() for this.

This replaces #116, which renamed dependency bumps automatically, and is the first of a series of small PRs. The next ones add the expected titles for specific changes, such as dependency bumps, new integrations and quality scale changes.

Type of change

  • Dependency upgrade
  • Bugfix
  • New rule or command
  • New repository manifest (enable the bot on another repo)
  • New feature (which adds functionality to an existing engine)
  • Code quality improvement or refactor (incl. tests)

Additional information

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass (mise run test). Your PR cannot be merged unless tests pass.
  • Lint and type checks pass (mise run check).
  • The code has been formatted (mise run format).
  • Tests have been added to verify that the new code works.
  • There is no commented out or debug code in this PR.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If behaviour, configuration, or environment variables changed:

  • README.md and .env.example have been updated accordingly.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant