Notify maintainer if fixup commits exist #210478
Replies: 3 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Here is a direct answer tailored for that GitHub Discussion: This is a great product feedback suggestion for GitHub Pull Requests. Currently, GitHub doesn't natively highlight fixup! or squash! commits in the PR UI or block merging based on them unless a custom CI workflow/status check is configured. Recommended Workarounds & Solutions Use a GitHub Action Status Check (Recommended): You can add a workflow that checks for commit prefixes (like fixup! or squash!) and fails the status check to prevent merging. For example, using the popular action copilot-ops/git-fixup-check or a simple inline bash script: YAML jobs: If this information or workaround helps address your request, please mark this response as the accepted answer! |
|
Here is a direct answer tailored for that GitHub Discussion: This is a great product feedback suggestion for GitHub Pull Requests. Currently, GitHub doesn't natively highlight fixup! or squash! commits in the PR UI or block merging based on them unless a custom CI workflow/status check is configured. Recommended Workarounds & Solutions Use a GitHub Action Status Check (Recommended): You can add a workflow that checks for commit prefixes (like fixup! or squash!) and fails the status check to prevent merging. For example, using the popular action copilot-ops/git-fixup-check or a simple inline bash script: YAML jobs: If this information or workaround helps address your request, please mark this response as the accepted answer! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
Body
Add a message notifying maintainers that a PR contains fixup commits in the merge area.
All reactions