Use Pajamas UI Rails helper to render the "Squash commits when merging" section of the "Merge Requests" Project General settings
For #361138 (closed)
Why
Part of the department-wide Pajamas conversion OKR.
What
I converted HAML to a special function that renders HTML.
Verify
- Go to the General settings for for a project you can manage
- Open the "Merge Requests" section
- Near the mid-top, there is a "Squash commits when merging" section.
Screenshots
Before | After |
---|---|
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Randolph