Yicong-Huang opened a new pull request, #56197:
URL: https://github.com/apache/spark/pull/56197

   ### What changes were proposed in this pull request?
   
   This PR disables all GitHub merge buttons in `.asf.yaml` by setting `squash` 
and `rebase` to `false` (in addition to the existing `merge: false`):
   
   ```yaml
     enabled_merge_buttons:
       merge: false
       squash: false
       rebase: false
   ```
   
   JIRA: https://issues.apache.org/jira/browse/SPARK-57140
   
   ### Why are the changes needed?
   
   Apache Spark merges pull requests exclusively through the 
`dev/merge_spark_pr.py` script, not through GitHub's web UI merge button. The 
current `.asf.yaml` still exposes the Squash and Rebase merge buttons, which 
can mislead committers into merging a PR directly from the GitHub UI and 
bypassing the canonical merge tooling. Disabling all merge buttons leaves the 
merge script as the only supported path to land a PR.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This only affects committer-facing repository settings on GitHub.
   
   ### How was this patch tested?
   
   Not applicable; this is a configuration-only change to `.asf.yaml`. The YAML 
was validated to parse correctly and to set all three merge buttons to `false`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


-- 
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