iterative / link-check

A Node-based tool to verify if links are alive. Built to be used anywhere!
4 stars 4 forks source link

Get default branch from deployment event #18

Closed rogermparent closed 2 years ago

rogermparent commented 2 years ago

This PR utilizes the default_branch given to us by GitHub to populate the branch (previously main) 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