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

Add auto-merge option #311

Closed
gr2m opened this issue Oct 31, 2021 · 1 comment · Fixed by #312
Closed

Add auto-merge option #311

gr2m opened this issue Oct 31, 2021 · 1 comment · Fixed by #312
Assignees
Labels

Comments

@gr2m
Copy link
Owner

gr2m commented Oct 31, 2021

Enabling auto merge for a pull request is currently only possible with GraphQL using the enablePullRequestAutoMerge mutation

We can simply add an auto-merge option. If it fails because the repository does not have it enabled, I'd just log a warning instead of failing the action, because at the point we run the mutation the pull request has already been created. We should also clarify that the option will only apply when creating a pull request, not when updating an existing one.

@gr2m gr2m self-assigned this Oct 31, 2021
@gr2m gr2m closed this as completed in #312 Oct 31, 2021
@github-actions
Copy link
Contributor

🎉 This issue has been resolved in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant