is there a way to protect my pipeline?
Steps:
I´ve a repo REPM.
I fork the repo to a specifiedy user
User clone REPM (usr/REPM)
User delete the pipeline.yml file
User push this upgrade
I create a pull request
=> project pipeline is gone and commits where acceptend.
And that´s awful.
The idea is:
The Admin setups the pipeline and the flow for deploying (CICyrcle). the developer ist now allowed to break this process.
Hi @Fux Peter
Every user with edit permissions in the pipelines repository will be able to edit the bitbucket-pipelines.yml file. This is due to the pipeline's design where the build configuration is embedded in the repository itself. This has lots of advantages in flexibility but has some trade-offs like this one.
Answering your question, no, there is no way to restrict issues like this other them reviewing the pull request and making sure undesired changes won't happen.
I've opened a feature request about this:
Let me know if that represents your request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.