raulcd opened a new pull request, #40771:
URL: https://github.com/apache/arrow/pull/40771

   ### Rationale for this change
   
   When we do the feature freeze for the releases or we are adding issues to 
patch releases we milestone the issues outside the merge script. The merge 
script should check and prompt if the issue already has a milestone assigned 
and should maintain the already assigned milestone to the issue.
   
   ### What changes are included in this PR?
   
   The merge script checks whether the issue already contains a milestone and 
if the milestone is different than the current default one it prompts the user 
to double check that it is the correct one.
   
   ### Are these changes tested?
   
   I've tested it locally.
   
   If no milestone or default it prompts as usual
   ```
   Would you like to update the associated issue? (y/n): y
   Enter fix version [16.0.0]: 
   ```
   
   If a different and closed milestone is assigned:
   ```
   === The assigned milestone is not the default ===
   Assigned milestone: 15.0.2
   Current milestone: 16.0.0
   Please ensure to assign the correct milestone.
   The assigned milestone state is closed. Contact the 
   Release Manager if it has to be added to a closed Release
   Please ensure to assign the correct milestone.
   ```
   
   
   ### Are there any user-facing changes?
   
   No, only for committers and not relevant.


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

Reply via email to