kevinjqliu opened a new pull request, #17517:
URL: https://github.com/apache/iceberg/pull/17517

   ## Summary
   
   Configure squash merges to always use the pull request title while 
preserving the existing commit-message details in the squash commit body.
   
   ## Justification
   
   `PR_TITLE_AND_COMMIT_DETAILS` is the only ASF merge-button option that 
changes the squash commit title to `PR_TITLE` without changing the current body 
behavior:
   
   - `DEFAULT` retains `COMMIT_OR_PR_TITLE`, so a single-commit PR can still 
produce an unhelpful title such as "Initial commit".
   - `PR_TITLE` always uses the PR title but makes the squash commit body blank.
   - `PR_TITLE_AND_DESC` copies the entire PR description, which can add 
templates, checklists, mentions, embedded HTML, and bot-generated content to 
the Git history.
   - `PR_TITLE_AND_COMMIT_DETAILS` maps to `PR_TITLE` plus `COMMIT_MESSAGES`, 
fixing the inconsistent title while preserving the current commit-body setting.
   
   This matches the conclusion of the dev mailing-list discussion and keeps the 
final merge message editable by the committer.
   
   Closes #17467.
   
   ## Validation
   
   - Parsed `.asf.yaml` successfully as YAML.
   - Ran `git diff --check`.
   
   ---
   **AI Disclosure**
   - Model: GPT-5
   - Platform/Tool: Codex
   - Human Oversight: [unknown - human to fill in]
   - Prompt Summary: Configure Iceberg squash merges to use PR titles and 
explain why the selected ASF merge-button option preserves existing commit-body 
behavior.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to