Closed rogermparent closed 2 years ago
This PR utilizes the default_branch given to us by GitHub to populate the branch (previously main) field when getting diffs.
default_branch
branch
main
The ability to override the branch is kept because it was easy and could be useful in some cases, but in most cases users won't need it.
Test branch at https://github.com/iterative/cml.dev/pull/287
This PR utilizes the
default_branch
given to us by GitHub to populate thebranch
(previouslymain
) field when getting diffs.The ability to override the branch is kept because it was easy and could be useful in some cases, but in most cases users won't need it.
Test branch at https://github.com/iterative/cml.dev/pull/287