I have a repository and want to enforce a branch system by having the master branch protected and requiring at least 1 approving review for the Pull request to be mergeable.
Right now am I the only person contributing to the project and I (ab)use my admin privileges to bypass this approval-requirement since I can’t approve my own PRs (Can I tho? Like is there a way?)
However, I don’t like this as it feels a bit cheaty and I want to prevent others with those rights to easily bypass this since the project is part of an org.
My question now is, if I can use the GitHub Actions account to approve the changes, so that the PR would become mergeable.
If that is doable would I like to use a System with either assigning a label (Something like “Action: Auto-Approve”) or writing a comment like “pls approve” to make the action then approve the PR.
I hope that there is a solution for this. Thanks in advance for any solutions.