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

Support merge queue branch protections #58

Open
ehuss opened this issue Jan 5, 2024 · 2 comments
Open

Support merge queue branch protections #58

ehuss opened this issue Jan 5, 2024 · 2 comments

Comments

@ehuss
Copy link
Contributor

ehuss commented Jan 5, 2024

This is an issue to track adding merge queue branch protection support. This is currently not possible because it is not supported by GitHub's API. I figured it might be helpful to have an issue to track it nonetheless.

There are open requests for this at:

AFAIK, it should be OK for admins to manually set this even if the repo is managed in the team database. It looks like update_branch_protection should be compatible. I have not tested this, yet, since all merge-queue repos I know of aren't tracked, yet.

@ehuss
Copy link
Contributor Author

ehuss commented Apr 26, 2024

Noting the last update from GitHub: https://github.blog/changelog/2024-02-27-repository-rules-configure-merge-queue-rule-public-beta/#limitations

They mention API support being "near future". I don't know if that means for rulesets or branch protections. I have the feeling that GitHub is pushing people towards rulesets and away from branch protections, so I'm not sure if they will both be fully supported.

@ehuss
Copy link
Contributor Author

ehuss commented Sep 10, 2024

Update: https://github.blog/changelog/2024-07-31-repository-updates-july-31st-2024/#repository-rules-updates

Merge queues + rulesets are now stabilized, and available via the GraphQL API. I continue to believe that GitHub will not be backporting new features to branch protections. Updating sync-team to use rulesets is probably not easy, though.

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

No branches or pull requests

1 participant