Skip to content

Add the PR size check - #27

Merged
ryanbarlow97 merged 1 commit into
mainfrom
pr-size-gate
Oct 11, 2026
Merged

ryanbarlow97 merged 1 commit into
mainfrom
pr-size-gate

Conversation

@ryanbarlow97

Copy link
Copy Markdown
Contributor

Adds the shared PR size check from TF-Minecraft/TLibs#39. It labels pull requests size:XS to size:XXL and, from size:L, requires an approval from someone other than the author. See Pull request size.

After this merges, the ruleset requires the "PR size" check instead of one approval on every pull request.

🤖 Generated with Claude Code

Labels pull requests by size and requires a second approval from size:L.
See https://github.com/TF-Minecraft/Docs/blob/main/PIPELINES.md#pull-request-size

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the size:S 10-29 effective changed lines (tests excluded in mixed PRs). label Oct 11, 2026
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8c7f87a9-0eb4-479a-8db4-f369462651c6

📥 Commits

Reviewing files that changed from the base of the PR and between bf209f8 and 5b231b1.


📒 Files selected for processing (1)
  • .github/workflows/pr-size.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.



📝 Summary

Summary by CodeRabbit

  • Chores
    • Added automated pull request size checks for selected pull request and review events. Size information is now checked as the pull request progresses through these events.

Walkthrough

Adds a pull request workflow that checks out the repository and runs a pinned PR-size action for selected pull request lifecycle and review events.

Changes

PR size workflow

Layer / File(s) Summary
Workflow execution
.github/workflows/pr-size.yml
Defines event triggers, permissions, per-pull-request concurrency cancellation, a five-minute Ubuntu 24.04 job, full-history checkout without persisted credentials, and the pinned PR-size action.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature


Merge Risk: ⚪ Minimal · up to 5b231

No actionable merge-blocking issue was established for the PR-size workflow. Merge after normal checks.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ryanbarlow97
ryanbarlow97 merged commit d935061 into main Oct 11, 2026
4 checks passed
@ryanbarlow97
ryanbarlow97 deleted the pr-size-gate branch October 11, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 effective changed lines (tests excluded in mixed PRs).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant