chore(ci): fix validate-docs-links for non-PR (#53129)
This PR fixes an issue when `validate-docs-links` is run on a branch like `canary` instead of a branch from a PR. Example error message: https://github.com/vercel/next.js/actions/runs/5649063425/job/15302604957
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment