dev.knotless.setAutoMerge
Sets an open pull to merge by itself once its checks pass, as `knotless pull merge --auto` does, as the account logged in to this appview's web pages: the owner and collaborators may, in a repository that names runners, into a branch with no merge queue. With undo, cancels it, as `--auto --undo` does: they and the pull's author may. Requires the session cookie the pages' login sets.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonOutput
application/jsoncommit
stringSet, the head it was set at, in hex.
Errors
NotFound
No such repository.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
UpstreamFailure
It was not set or cancelled, as the reason says: the account may not, the branch uses the merge queue, the repository names no runners, the pull is a draft, or it was not set.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.mergePull
procedureMerges a pull as the account logged in to this appview's pages.
-
dev.knotless.autoMerge
recordA pull set to merge by itself once its checks pass, or that setting cancelled.
-
dev.knotless.revertPull
procedureReverts a merged pull as the account logged in to this appview's pages.
-
Whether an open pull can merge now, and what the account asking may do to it.
-
dev.knotless.queuePull
procedurePuts a pull in its branch's merge queue as the account logged in to this appview's pages.