ahmadnassri / action-dependabot-auto-merge

Automatically merge Dependabot PRs when version comparison is within range
MIT License
342 stars 48 forks source link

Sorry, only users with push access can use that command #21

Closed bennycode closed 4 years ago

bennycode commented 4 years ago

I am using "GitHub Action: Dependabot Auto Merge" and it looks like the action sends a "@dependabot merge" comment to a PR discussion. Unfortunately, dependabot is not able to merge because it tells me that it does not have push access.

Is there a setting that I am missing?

Screenshot

image

ahmadnassri commented 4 years ago

look for the details in the token scope under readme:

https://github.com/ahmadnassri/action-dependabot-auto-merge

tl;dr you need a personal access token with the proper scope, can't use default Action token