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

Revert "do not merge directly if we cannot enable auto-merge (#165)" #168

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

meorphis
Copy link

@meorphis meorphis commented Aug 9, 2024

This reverts commit 188096b.

That change (#165) was meant to prevent us from merging in cases where the GitHub repo has auto-merge enabled. But it turns out that mutatePullRequestEnableAutoMerge fails for some cases even when auto-merge is enabled. Namely, it looks like you cannot enable auto-merge through this endpoint unless you have branch protection rules defined (https://github.com/orgs/community/discussions/53088#discussioncomment-5992953) for some reason.

@meorphis meorphis enabled auto-merge August 9, 2024 01:48
@meorphis meorphis added this pull request to the merge queue Aug 9, 2024
Merged via the queue into main with commit 20b3f4f Aug 9, 2024
4 checks passed
@meorphis meorphis deleted the emorphis-revert-do-not-merge branch August 9, 2024 01:57
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

Successfully merging this pull request may close these issues.

1 participant