-
Notifications
You must be signed in to change notification settings - Fork 68
Enforce single commit PRs #1553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Enforce single commit PRs #1553
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new GitHub Actions workflow that enforces pull request quality standards by requiring PRs to contain exactly one commit and be up-to-date with the base branch.
Key Changes:
- Added automated PR validation workflow that checks commit count and branch synchronization status
- Implemented git-based ahead/behind calculation to ensure PRs have exactly 1 commit ahead and 0 commits behind the base branch
- Configured workflow to run on PR open, synchronize, reopen, and ready_for_review events
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d8aa796 to
b6556a2
Compare
vlad-ivanov-name
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm but note this will require proper PR stacking -- multi-commit PRs that josh split push creates will fail CI
b6556a2 to
c70a885
Compare
c70a885 to
aa305d4
Compare
3e6280e to
603448d
Compare
b8715ae to
adefa63
Compare
f1c4b86 to
f797ac4
Compare
f797ac4 to
6c8a676
Compare
Change: single-commit-pr