I have an app that I want to bump versions on during the CI build. I'm trying to push the version bump back using the apps credentials but its getting these errors:
+ git push origin HEAD:master
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: At least 1 approving review is required by reviewers with write access.
Now when I do it with my own credentials it works because I am an admin in the repo but how can I grant access to an App to push to master despite the usual branch protections?
You can (now, May 2022, 18 months later).
The justin.m.chase also adds in the comments: