---
name: pull-request-convention-and-hygiene-checker
description: "Scans incoming pull requests and issues against project formatting standards, missing labels, and required approvals, and surfaces inactive contributions needing attention. Use when maintainers need contribution hygiene checks or stale item review."
license: CC-BY-4.0
compatibility: "Needs access to: GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/pull-request-convention-and-hygiene-checker/"
  kind: workflow
  hermes:
    tags: ["git", "code-review", "automation", "pull-requests"]
    category: coding
---
# Pull request convention and hygiene checker

Enforce repository contribution standards and identify stale pull requests automatically

## When to use

Scan incoming pull requests and issues against project formatting standards, missing labels, and required approvals. Surface inactive contributions needing attention, draft reminder comments, and verify passing status checks before prompting for merge approval.

## Inputs

- `pull_request` (optional): Pull request title, description, linked issue references, and status-check results to evaluate.
- `issue` (optional): Issue title, description, labels, and activity state for hygiene review.
- `contribution_rules`: Project contribution standards for formatting, labels, required approvals, and status checks.

## Steps

1. When something happens: New pull request submitted (A new pull request is submitted or an existing issue is updated.)
2. Evaluate guidelines and status checks
3. Review validation report and approve

## Instructions

Monitor repository events for opened pull requests and updated issues. Evaluate titles, descriptions, and linked issue references against contribution rules. When guidelines are missing or an item has gone inactive, draft polite feedback for the author. Before posting comments, applying stale tags, closing tickets, or merging code, ask for maintainer approval.

## Approvals

- Posting comments on pull requests or issues requires maintainer approval.
- Applying stale tags to inactive items requires maintainer approval.
- Closing tickets requires maintainer approval.
- Merging code requires maintainer approval.

## Output

Validation report covering guideline compliance, label gaps, stale items, and status-check readiness. (format: json)

## Source

Summarized in our own words from [mergeable: 🤖 All the missing GitHub automation 🙂 🙌 ](https://github.com/mergeability/mergeable) (GitHub, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/pull-request-convention-and-hygiene-checker/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
