Is there a way to lock down modification of bitbucket-pipelines.yml file?
For example, if we want to run the CI and push changes to servers only on merge to master or develop branch, we could target those specific branches in the pipeline.
But nothing really prevents a develop from creating a branch, modifying the pipeline definition to target their own branch, pushing that new branch - and yay (!) we are running some rogue code on test or prod...
Answering my own question since it doesn't look like it is possible to delete a question :-\
There is an outstanding request:
https://bitbucket.org/site/master/issues/13676/ability-to-restrict-who-can-run-deployment
Thanks for sharing that, Sergey! I'm sure that will help some other users :D
Have a good day,
Ana
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.