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

Create merge-main-into-prs.yml #78

Merged
merged 1 commit into from
Apr 14, 2024
Merged

Create merge-main-into-prs.yml #78

merged 1 commit into from
Apr 14, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Apr 14, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Introducing automated merging of the main branch into open PRs for seamless updates! πŸš€

πŸ“Š Key Changes

  • New GitHub action workflow: Merges the main branch into all open pull requests (PRs) automatically.
  • Action is triggered manually via workflow_dispatch for now. This means it doesn't automatically run on any push to the main branch unless manually initiated.
  • Uses Python script and GitHub's Python library (PyGithub) to handle the merge process.
  • The workflow runs on the latest Ubuntu environment with Python 3.11.

🎯 Purpose & Impact

  • Keep PRs Up-to-Date: Automatically updating PRs with the latest main branch changes reduces conflicts and ensures PRs are always compatible with the main branch.
  • Saves Time: Automates the tedious and time-consuming process of manually keeping PRs up-to-date, allowing developers to focus on code quality and new features.
  • Increased Workflow Efficiency: By ensuring all PRs are current, the mergeability of each PR is improved, streamlining the review and integration workflow.
  • Potential Impact: Initially, this action is manually triggered, limiting its immediate impact. However, it lays the groundwork for automatic, seamless updates to PRs, significantly benefiting ongoing and future development processes.

@glenn-jocher glenn-jocher merged commit 2dc17a6 into main Apr 14, 2024
1 check passed
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch April 14, 2024 03:35
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.

1 participant