Autogroup PRs where branches have the same name (within an org) #180620
Replies: 5 comments
-
|
GitHub does not currently support autogrouping PRs across repositories However, this can be done with automation like a GitHub Action :
I haven't found anything else in github issues or discussions |
Beta Was this translation helpful? Give feedback.
-
|
Great question! To answer both of your questions: Is this already possible using actions or bots? Yes, this can be implemented using GitHub Actions combined with the GitHub API. Here's a practical approach:
You can use popular actions like:
Is this a feature GitHub might consider? This would be a great feature request for GitHub! Currently, there's no native "PR grouping" feature, but you could:
Alternative solution: Would you like more details on implementing the GitHub Action solution? |
Beta Was this translation helpful? Give feedback.
-
|
GitHub does not currently support autogrouping PRs across repositories |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Scenario
I am a member of an organization with 2 related repositories. I want to make changes that affect both. I've given both branches the same names and raised PR's for both, each with exactly the same name.
What I want to happen
I'd like GitHub to offer me the option of automatically putting a link/comment in both of the PRs linking to the other. This might be a setting an org might need to turn on.
At a stretch, I'd rather like the merge button to have a merge-both option.
My questions
Beta Was this translation helpful? Give feedback.
All reactions