Skip to content

Fail PRs that drop the template or leave Proposed change empty #54

Open

Description

@justanotherariel

The problem

Some core PRs delete the PR template, or keep it and leave Proposed change empty. Reviewers then have to ask what the PR does and why. Today only the Type of change row looks at the body.

Which bot / where

GitHub bot, home-assistant/core PRs.

Proposed rule

  • Fail when a section the review relies on is missing: Proposed change, Type of change, Checklist.
  • Fail when Proposed change has no text once the template comments are stripped.
  • Name the missing or empty section in the row.
  • Skip release PRs and PRs opened by dependency bots, whose bodies don't use the template.

Activity

  1. added
    rule-idea
    outcome: fail
    repo: core
    on Nov 9, 2026
  2. vemboy200 commented on Nov 11, 2026

    @vemboy200

    Can i work on this one? I had this in my mind for some time.

  3. justanotherariel commented on Nov 11, 2026

    @justanotherariel
    MemberAuthor

    @vemboy200 Sure, feel free to open a PR. I think this rule could be made more generic (i.e. in src/github/rules, instead of inside a speicifc repo), if you find that more repos could benefit from it.

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

    outcome: failrepo: corerule-idea

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions