Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update merge-main-into-prs.yml #13282

Merged
merged 1 commit into from
Aug 25, 2024
Merged

Update merge-main-into-prs.yml #13282

merged 1 commit into from
Aug 25, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 25, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Updated the workflow for merging the main branch into open pull requests in the Ultralytics YOLO repository.

πŸ“Š Key Changes

  • Branch Naming: Replaced hard-coded branch names (main, master) with a dynamic default branch reference.
  • Python Version: Updated the workflow to use any 3.x Python version instead of specifically Python 3.11.
  • Enhanced Logging: Added more detailed logging for the merge process, including success and failure messages.
  • Environment Variables: Improved handling of GitHub token for authentication.

🎯 Purpose & Impact

  • Flexibility: This change accommodates repositories with different default branch names, making the workflow more adaptable.
  • Reliability: Using any 3.x Python version ensures broader compatibility without strictly tying to a single version.
  • Transparency: Enhanced logging provides clearer insights into the merge process, helping developers understand the status and any issues.
  • Security: Improved token handling enhances the security of the workflow by ensuring authentication is more robust.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@UltralyticsAssistant UltralyticsAssistant added enhancement New feature or request python Pull requests that update Python code labels Aug 25, 2024
@glenn-jocher glenn-jocher merged commit 427cfc4 into master Aug 25, 2024
8 checks passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch August 25, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants