Open
Description
p1
/p0
?:cml pr
should complain (exit non-zero) if a PR already exists, and also have a--force
flag to suppress the warning and force-push an update to the PR. This is a likely scenario in case of e.g.- restarted workflow, or
- long-running job where the user wants to open a draft PR and update it multiple times
p2
: if branch"${BASE}-cml-pr-${SHA}"
already exists on the remote but there is no associated PR, thencmp pr
fails. Instead, it should open a PR.
originally from iterative/cml.dev#114 (comment)