-
-
Notifications
You must be signed in to change notification settings - Fork 68
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 error when Dependabot tries to create a pull request #1106
Comments
@ahmed-ben10 Thanks for your reply. How did you discover/find who your build service user is? And in what menu was that screenshot taken, Project settings, Organization settings, and which submenu? Thanks. |
To find who your Build service user is, go to the dropdown menu on the right in the pipeline page and click on ''Manage security'' : Then go to the permissions tab of the Azure DevOps project settings in the users section you will most likely find the user that you found previously. From here on, you can either modify its permission or add the user to be the member of a group that has the correct permissions! |
@sambouchard-newforma Unfortunately none of the users listed in the Pipeline dropdown can be found in the Permissions > Users tab... thanks for the reply though :) |
Check #1095 (comment) |
Hi everyone, I tried to give my "Build service" user and Project Collection Build Service Accounts the mentioned permission without success : With my user PAT in inputs: azureDevOpsAccessToken, it works fine. Any other idea? Thanks in advance! Cheers, |
Finally, I could make it work by following this article : https://medium.com/@sugam.arora23/automated-dependency-management-harnessing-dependabot-for-seamless-updates-on-azure-devops-ea5d1a7aa82c |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
Dependabot fails when trying to create a pull request
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should create a pull request
Screenshots
![image](https://private-user-images.githubusercontent.com/78076164/327361908-0c3fc37a-e167-4b7f-9ec0-0da70f8db026.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzAxMjgsIm5iZiI6MTczOTMyOTgyOCwicGF0aCI6Ii83ODA3NjE2NC8zMjczNjE5MDgtMGMzZmMzN2EtZTE2Ny00YjdmLTllYzAtMGRhNzBmOGRiMDI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDAzMTAyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU4Mzk1MmE0NjQwNzY5YTg5MTI4MTExYzU5NjliYzNmZTIzYzgwNTYzMWJmOGRjNTMyYjE3MWY5NTk4NzY3YTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.dy1_r1j3cTWw8TZTHbaZcpcxxC8w5xgARhuybCcv7JE)
Extension (please complete the following information):
Server (please complete the following information):
Additional context
The plugin can access the code in the repository, so the API connection works. It can also do GET requests for fetching the existing pull requests. So the basic permissions work, but as soon as it tries a POST request, it fails.
We have tried all different options but cannot find where we can configure the permissions for this plugin, or for the 'user' that runs this plugin. The documentation of this plugin is unclear about where we can configure the required permissions.
We use minimal configs for dependabot and we use the standard Azure Pipelines agent pool. Please advice on where this goes wrong.
The text was updated successfully, but these errors were encountered: