researchgate / gradle-release

gradle-release is a plugin for providing a Maven-like release process for projects using Gradle
MIT License
859 stars 223 forks source link

Release with protected branch #364

Open Distractic opened 2 years ago

Distractic commented 2 years ago

Hello

I'm trying to release my project using CI/CD, but when I try, your plugin fail because the main branch is protected and require Pull request + 1 validation.

How can I bypass this protected while keeping it active ?

ac-sstankiewicz commented 1 year ago

You can try to add your CI/CD user to group that is excluded from requirement of doing PR reviews. I believe that you could achieve this in GitHub with adding CI/CD user to admin group.