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

Is there an example for a 'merge_queue' rule? #25

Open
mama-wk opened this issue Oct 18, 2024 · 2 comments
Open

Is there an example for a 'merge_queue' rule? #25

mama-wk opened this issue Oct 18, 2024 · 2 comments

Comments

@mama-wk
Copy link

mama-wk commented Oct 18, 2024

As i can't find a way to set the 'merge_queue' section of an organization level repository rule with templates or the @octokit api, it would be nice to provide an example how this works.

@patrick-knight
Copy link
Collaborator

@mama-wk
Copy link
Author

mama-wk commented Oct 21, 2024

Yes, sorry i was unclear on that point.
The repository is part of an organization, and the 'merge_queue' option can be set in the 'Settings -> Rules -> Rulesets'. I guess the proper api type to use is this one: https://github.com/octokit/openapi-types.ts/tree/main/packages/openapi-types-ghec
But i'm at a loss on where to configure the 'merge_queue' rule as that type of rule is not available, actually in none of the open-api packages it seems.
Am i on the wrong track here?

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

2 participants