You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT]: Add support for Merge queue on github. #1481
Github has come up with this new feature called merge queues I don't see any configuration support for this from the terraform provider. Please add this into the terraform provider for github.
SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
Reacted by Ze Peng, Nicolai Antiferov, Sam Tarplee, Andrew Sweet, Pierre Nicolas Durette, Scott Dawson, dzmitry-lahoda, Lyna Bouhorma, Anthony Rabbito, github-marc-enz and 87 more
merge queue is now in public beta, it would be great if our provider can support this feature.
Reacted by Nicolai Antiferov, Sam Tarplee, Angus, Pierre Nicolas Durette, George Dietrich, Andrew Storrs, dzmitry-lahoda, Shane Savoie, Adam Chen, Jonatas Lopes and 1 more
I do not see parameters in Go code to fine tune queue, only to enable kind of. If that works, I am fully happy with default parameters it sets to queue. It is already works little better than Mergify and we switched. Will donate equivalent of 42 USD in crypto for feature which enable/disable queue.
@zepeng811 I already pulled go-github@master to get this working early for our own use, opened a PR here that I'll rebase once the SDK gets released. LMK if any other changes would be needed in addition to the rebase.
thanks @MXfive for getting this started, I added some early comments to your PR based from what I currently have locally. Happy to discuss this further.
thanks @MXfive for getting this started, I added some early comments to your PR based from what I currently have locally. Happy to discuss this further.
Addressed your comments @zepeng811, should be good to mark for review once the SDK is released now hopefully.
Thanks, so even though I can configure Merge Queues on Branch Protections in the GitHub.com web interface, that doesn't mean its exposed through an API in order for Terraform to manipulate it, correct?
Thanks, so even though I can configure Merge Queues on Branch Protections in the GitHub.com web interface, that doesn't mean its exposed through an API in order for Terraform to manipulate it, correct?
right, they may have API internally to make the functionality work in the web interface, but if they don't expose their API to outside tools then we cannot manipulate it.
Activity
kfcampbell commentedon Jan 13, 2023
@bhargavms is there an associated API you could link?
zepeng811 commentedon Feb 9, 2023
merge queue is now in public beta, it would be great if our provider can support this feature.
morremeyer commentedon Feb 16, 2023
The API documentation does not contain any information about merge queues yet: https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#update-branch-protection
However, the go module seems to have some form of support? https://github.com/google/go-github/blob/ab8b241add175a45ea24db294e035f2580e55853/github/repos.go#L881
dzmitry-lahoda commentedon Apr 28, 2023
I do not see parameters in Go code to fine tune queue, only to enable kind of. If that works, I am fully happy with default parameters it sets to queue. It is already works little better than Mergify and we switched. Will donate equivalent of 42 USD in crypto for feature which enable/disable queue.
nikwotton commentedon Jul 13, 2023
Merge queue is now officially released, though I don't see an update to the API documentation yet unfortunately.
24 remaining items
MXfive commentedon Sep 6, 2024
@zepeng811 I already pulled go-github@master to get this working early for our own use, opened a PR here that I'll rebase once the SDK gets released. LMK if any other changes would be needed in addition to the rebase.
zepeng811 commentedon Sep 6, 2024
thanks @MXfive for getting this started, I added some early comments to your PR based from what I currently have locally. Happy to discuss this further.
MXfive commentedon Sep 8, 2024
Addressed your comments @zepeng811, should be good to mark for review once the SDK is released now hopefully.
zepeng811 commentedon Sep 16, 2024
https://github.com/google/go-github/releases/tag/v65.0.0 was released today,
will put up a PR to start the upgrade process.coordinating with the assignee of the existing upgrade for v63 -> v64 in #2358 for the upgrade.
MXfive commentedon Sep 17, 2024
Already rebased mine with v65 to check, all looks good. Will do again once #2358 merges.
icep87 commentedon Oct 16, 2024
@zepeng811 & @MXfive #2358 has been merge now. Can you continue with rebase and maybe this can get merge soon.
zepeng811 commentedon Nov 12, 2024
still pending review from the maintainers on #2380 to close this issue
ccogan-lh commentedon Jan 13, 2025
Any update on this?
nnellanspdl commentedon Feb 28, 2025
So, the provider supports Merge Queues now on Rulesets only, and not Branch Protections?
zepeng811 commentedon Feb 28, 2025
@nnellanspdl GitHub never exposed merge queue configurations API to branch protection, so currently not possible.
I'm assuming they will never be supported, any new features seems to be exclusively on rulesets now.
nnellanspdl commentedon Feb 28, 2025
Thanks, so even though I can configure Merge Queues on Branch Protections in the GitHub.com web interface, that doesn't mean its exposed through an API in order for Terraform to manipulate it, correct?
zepeng811 commentedon Feb 28, 2025
right, they may have API internally to make the functionality work in the web interface, but if they don't expose their API to outside tools then we cannot manipulate it.