I've seen a question on this before (https://community.atlassian.com/t5/Bitbucket-questions/bitbucket-pipeline-user-permissions-to-write-to-master/qaq-p/1177712) but didn't see an answer that helped.
We are trying to use a pipeline to compile our react code and then commit/push it back into master, the only issue is we don't allow anyone to commit directly to master so this also prevents the bitbucket-pipelines user from committing directly to master.
In this case we do want the bitbucket-pipelines user to be the ONLY one that can commit directly to master. As of right now we are committing to a new branch and then manually making a PR then approvals have to be done with multiple people then we can merge it into master.
Any fixes/ ideas would be great, Thanks!
Take a look at this approach
Yeah we did pretty much this, we had to make a bot account and then use ssh. Thanks!
@Clayton Bailey Could you describe in detail what you did?
I am trying to follow the instructions from support.atlassian.com/bitbucket-cloud/docs/push-back-to-your-repository/ (section "SSH Key pair managed with variables") where I:
~/.ssh/id_rsa"
Results
It looks like you're new here. Sign in or register to get started.