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 for merge queues. #3170

Closed
mikhail-khodorovskiy opened this issue May 14, 2024 · 3 comments
Closed

Support for merge queues. #3170

mikhail-khodorovskiy opened this issue May 14, 2024 · 3 comments

Comments

@mikhail-khodorovskiy
Copy link

mikhail-khodorovskiy commented May 14, 2024

What's the PullRequest's method to achieve the click on that "Merge When Ready" button to submit the PR onto the merge queue? Are the APIs from Github are still missing to make this happen - is that way the library does not yet support it?
Screenshot 2024-05-14 at 9 34 55 AM

By looking in the developer console in the UI it looks like the browser submits a form POST to https://github.com/owner/repo/pull/pr-id/auto_merge_requests.

@gmlewis
Copy link
Collaborator

gmlewis commented May 14, 2024

I don't know. You might want to contact the GitHub v3 API tech support team and ask them.
Feel free to report back here once you have an answer.

@mikhail-khodorovskiy
Copy link
Author

https://docs.github.com/en/graphql/reference/mutations#enablepullrequestautomerge - they say this is the API to add PR to merge queue. Is this something that can be added to the library?

@gmlewis
Copy link
Collaborator

gmlewis commented May 14, 2024

No, unfortunately that is the GitHub v4 GraphQL API, not the v3 RESTful API.
Please see our README.md for more information about the GraphQL API.

Closing as not possible in this repo.

@gmlewis gmlewis closed this as completed May 14, 2024
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