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

PR auto-merge flag #42

Open
mungojam opened this issue Jun 4, 2021 · 0 comments
Open

PR auto-merge flag #42

mungojam opened this issue Jun 4, 2021 · 0 comments

Comments

@mungojam
Copy link

mungojam commented Jun 4, 2021

Is your feature request related to a problem? Please describe.
We'd like the safety and communication benefits of using Pull Requests while reducing the burden as much as possible

Describe the solution you'd like
I'd like a switch when calling git-xargs that will turn on the GitHub auto-merge PR feature on the PRs that it creates.

Describe alternatives you've considered
I guess we could use a GitHub action that does it somehow but then we'd need to roll that out everywhere too (there is obviously a nice tool that can do that :))

Additional context
Unfortunately the GitHub v3 API doesn't appear to expose the auto-merge feature, only the GraphQL v4 API does, so you'd need to use a library like https://github.com/shurcooL/githubv4 since go-github doesn't support v4 API.

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