`cml-pr` failure handling
Open
cml-pr
external-request
p1-important
ui/ux
- Dominant language
- JavaScript
- Stars
- 4.2k
- Forks
- 345
- PR merge metrics
- No merged PRs in 30d
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, then `cmp pr` fails. Instead, it should open a PR.
originally from https://github.com/iterative/cml.dev/pull/114#discussion_r720283843
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.