Closed
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We use the "Squash and merge" button for merging a PR. The default commit message is:
- The commit message of the first commit if only one commit exists in the PR
- The commit title of the first commit as a title and list of commit titles of all commits if multiple commits exist in the PR
We have our PR template and it has very useful information.
In general, the PR title and description have more useful information than the default commit message described above. How about using the PR title and description as the default commit message?
FYI: Other apache/arrow* repositories does this.
Describe the solution you'd like
diff --git a/.asf.yaml b/.asf.yaml
index 53c5c3015..4ff99cf02 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -35,6 +35,7 @@ github:
squash: true
merge: false
rebase: false
+ squash_commit_message: PR_TITLE_AND_DESC
features:
issues: true
discussions: true
See also: https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#merge-buttons
Describe alternatives you've considered
None.
Additional context
None.