GitHub Actions "required reviewers cannot approve own deployment"
When prevent self-review is on, the person who triggered a deployment cannot also approve the required-reviewer gate. If they are the only eligible reviewer the deployment stalls until someone else approves.
What this error means
A deployment waits at the reviewer gate and the triggering user is told they cannot approve their own deployment.
You cannot approve your own deployment because "Prevent self-review" is enabled for this environment.Common causes
Prevent self-review enabled with a single reviewer
The only eligible reviewer is the actor who triggered the run, and self-approval is blocked.
Reviewer team has no other eligible members
The configured reviewer set effectively reduces to the triggering user.
How to fix it
Add another eligible reviewer
- Under Settings > Environments, add at least one more required reviewer or a team with multiple members.
- Have a different reviewer approve the pending deployment.
- If self-review is acceptable for this environment, disable Prevent self-review.
How to prevent it
- Configure required-reviewer teams with more than one eligible member.
- Decide self-review policy per environment based on segregation-of-duties needs.