PR quality guardrails now enforced automatically
Automated checks now require contributors to confirm code ownership and cap PR size at 1,000 lines. Maintainers can override size limits with a comment.
Pull requests targeting master now face two automated quality gates. First, contributors must check a box confirming they've seen their code and take responsibility for it — the check fails and posts a bot comment until the checkbox is checked, then cleans up after itself. Second, PRs exceeding 1,000 line additions fail automatically, with a bot comment explaining the limit and suggesting alternatives. Maintainers with write access can override the size check by commenting /size-limit-override, which re-triggers the check so it picks up the override and passes. Both checks skip backport PRs entirely.
These guardrails shift some of the review burden onto automation, reducing the need for maintainers to chase down basic checklist items. Large PRs still get approved when justified — the override mechanism exists precisely for generated code, large migrations, or test fixtures where size is unavoidable.
View Original GitHub Description
Summary
Adds two automated CI quality checks that run on every PR targeting master:
Ownership Acknowledgement — fails if the author hasn't checked the ownership acknowledgement checkbox in the PR description. Posts a bot comment explaining what's needed, and cleans it up once the box is checked. Re-runs automatically when the PR description is edited.
PR Size Limit — fails if the PR adds more than 1,000 lines. Posts a bot comment with context and suggestions. Maintainers can unblock a justified large PR by commenting /size-limit-override, which triggers a handle-size-override job that verifies write access and re-requests the size check (which then picks up the override and passes).
Both checks skip backport PRs.
To test: open a PR against master with the ownership checkbox unchecked, or with >1,000 additions.
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/CAT-2767
Review / Merge checklist
- I have seen this code, I have run this code, and I take responsibility for this code.
- PR title and summary are descriptive. (conventions)
- Docs updated or follow-up ticket created.
- Tests included.
- PR Labeled with
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)