message: Fix broken "Details" links in PR checks due to `bypass-checks`
diff: @@ -14,8 +14,17 @@ async function bypass(detailsLink: HTMLAnchorElement): Promise<void> {
  return;
  }
  - const directLink = await api.v3(`check-runs/${runId}`);
  - detailsLink.href = directLink.details_url;
  + const {details_url: detailsUrl} = await api.v3(`check-runs/${runId}`);
  + if (!detailsUrl) {
  + return;
  + }
  +
  + const {pathname, search: queryString} = new URL(detailsUrl);
  + if (detailsUrl.startsWith('https://github.com/') || (pathname === '/' && queryString === '')) { // Ignore links to GitHub repos or static product pages #3938
  + return;
  + }
  +
  + detailsLink.href = detailsUrl;
  }
  function init(): void {
  