Hello,
I was looking to secure a branch, by not only blocking people to merge to the branch but also from the branch.
So if the origin of the pull request is production, only a group of people can merge that pull request.
Many thanks.
Agree with the comment by @Saxea _Flowie_ - there are a few more apps that support your requirement:
Please let me know if I can help you any further with your setup.
Cheers, Ulrich
Hello,
First thing Tanks for your answer.
Im working with Bitbucket Cloud, wich of those are supported for it? Also, does any of this plugins block merging in local, and then pushing the changes?
Many thanks.
Pablo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bitbucket built in branch permissions are only based on target branch.
However, Flowie, which is a Bitbucket app is capable of restricting based on other aspects, including the source and/or target branch. You can use the merge plugin with conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
First thing Tanks for your answer.
Ive tried tio use flowi, but i cant get it to work in my test repository, how would the flowie settings would be for this merge checks?
Also, does it block merging in local?
Many thanks.
Pablo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To block locally you need to use git hooks. Flowie (and any other plugins/add) only blocks remote/Bitbucket.
You would need to use the condition. Something like this:
import {configure} from "flowie.app"
import {merge} from "flowie.app/plugins"
import {target, source} from "flowie.app/conditions"
configure({
plugins: [
merge([
source("production").and(target("master")),
{
allow: ["Team leaders group"]
},
]),
],
})
I suggest you reach out on the support channels of the website(email or chat) which is easier for us to help you, as we probably need more details for a complete config.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.