Skip to content

[MINOR][INFRA] Allow "Squash and merge" only - #58342

Open
nchammas wants to merge 1 commit into
apache:masterfrom
nchammas:enabled-merge-buttons
Open

[MINOR][INFRA] Allow "Squash and merge" only#58342
nchammas wants to merge 1 commit into
apache:masterfrom
nchammas:enabled-merge-buttons

Conversation

@nchammas

@nchammas nchammas commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

When using GitHub's merge button (which we don't use), allow "Squash and merge" only, where the squashed commit title and message are derived from the PR title and description.

GitHub unfortunately does not allow us to disable the merge button entirely.

Relevant docs are here: https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#merge

Why are the changes needed?

They're not really needed, but if we ever decide to use GitHub's merge button, or if someone uses it by mistake, the updated settings are the closest to what our merge script does. They also match what is proposed for spark-website.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

No testing.

Was this patch authored or co-authored using generative AI tooling?

No.

@nchammas
nchammas requested a review from dongjoon-hyun August 27, 2026 14:05
Comment thread .asf.yaml
squash: true
rebase: true
squash_commit_message: PR_TITLE_AND_DESC
merge: false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unchanged, isn't it? It would be great if we minimize the git diff by keeping merge: false at the top, @nchammas .

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I deliberately moved it so that the one enabled merge method is at the top, and so that this config block matches spark-website. If you feel strongly about minimizing the diff I'll make the change.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer strongly to minimize the diff.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah let's make the diff small. otherwise I am fine with this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants