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!
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:
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events