'How could I remove my approval from a pull request on github?

I approved a pull request of a random repository I do not have write access too. How can I remove or delete that approval?



Solution 1:[1]

For quick resolution,I suggest to Dismiss the review by stating the reason.

Note: It will be recorded in the history of events of the PR that you had approved & dismissed earlier.

Solution 2:[2]

You might need to contact the repository owner.

From "Is there a way to make Github un-approve a pull request if a new commit is pushed to the branch?", there is an option that would dismiss stale pull request approval when new commits are pushed.

But that is for the owner to activate.

Another option (still for the owner of the repository)

Dismissing a pull request review

Solution 3:[3]

You can also re-request your own review (the refresh symbol next to your green tick)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kaarthick raman
Solution 2 VonC
Solution 3 Adi