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

Auto-merge / auto-approve PRs when branch protection requires more than 1 review #812

Open
schTi opened this issue May 20, 2022 · 1 comment

Comments

@schTi
Copy link

schTi commented May 20, 2022

In our project, we have a branch protection that requires more than 1 review. We still want to auto-approve + auto-merge dependabot PRs. Is there any way to approve those PRs multiple times to make the protection rule succeed?

@chdsbd
Copy link
Owner

chdsbd commented May 20, 2022

You could configure a GitHub Action to add a second approval. You could check if the pr is a dependabot PR and add an approval if so.

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

No branches or pull requests

2 participants