GitHub & Code
setMergeApprovals
Set Merge Approvals
Request a change to a connected GitHub account's "Merge approvals" dial: the standing consent that decides whether a green pull request merges on its own or waits for the owner.
Arguments
modestringrequiredThe mode to move the dial to. "manual" = ask before every merge (the default); "auto" = merge vetted work when checks are green, escalate anything risky; "off" = never merge.ownerstringrequiredThe GitHub account whose connection the dial belongs to (the same owner you pass to the repo verbs)
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- turn on auto-merge
- stop asking me to approve every merge
- make me approve merges again
- never merge anything
Pair it with
The verbs that finish the job.