Reputation: 1490
I am looking a way to give my pipelines access to repository. My goal is to create a script which would create a new branch and based on result merge the branch. I would not like to use my PAT token or my own identity for this.
Upvotes: 0
Views: 2821
Reputation: 28086
Please check this document. You can navigate to Project Settings=>Repositories=>Choose specific repo to set the permissions of ProjectName Build Service
:
Note: Azure devops doesn't support setting repos permissions for one specific build pipeline. If you grant the repos permissions to the Build Service, it actually grant the permissions to all build pipelines. You may need to allow the related permissions like Contribute, Contribute to pull requests, Create branch
to do what you want. Hope it helps :)
Update1:
Try using search box, enter the projectname to find the build service manually.
Upvotes: 1