Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

pipeline delete protection

Fux Peter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 13, 2019

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.

1 answer

0 votes
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2019

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events