Problem Background:
So far I am the sole owner of a GitHub repo. I committed the code from my system to a branch called release (actually its a tag based on develop branch, if that matters). In GitHub, I created a pull request where base branch is master and compare branch is release.
But I am only allowed to comment on review, not allowed to approve. What may be the reason?
Note: There is no merge conflicts and while creating the pull request the green signal of merging possible was displayed.
Here is how the master branch is protected by me:
Under Access, click Moderation options. Under Moderation options, click Code review limits. Select or deselect Limit to users explicitly granted read or higher access.
For obvious reasons, a user cannot approve their own pull request, meaning that a requirement of even one approval, forces another organization member to approve the merge request in the codebase.
Once the repository maintainer has approved a pull request, the developer's new updates in the forked repository are merged with the main project repository. The product is then updated with the new feature or bug fix, and can now be viewed by end users.
If you were the one who has committed the pull request you cannot approve or request changes on this pull request. It's only available when someone else requested such action.
So your only option is to comment it.
I am the only developer in my github profile. I am admin of the project. Yet I am not authorized to approve my own PR. I do see an option to merge using admin Priviledges.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With