message: Enable `bypass-checks` on more commit statuses
diff: -import select from 'select-dom';
  +import onetime from 'onetime';
  +import {observe} from 'selector-observer';
  import * as pageDetect from 'github-url-detection';
  import features from '.';
  @@ -15,12 +16,20 @@ async function bypass(detailsLink: HTMLAnchorElement): Promise<void> {
  }
  }
  -async function init(): Promise<void> {
  +function init(): void {
  // This selector excludes URLs that are already external
  - const thirdPartyApps = select.all<HTMLAnchorElement>('a:not([href="/apps/github-actions"]) ~ div .status-actions[href^="/"]');
  + const thirdPartyApps = [
  + `a:not([href="/apps/github-actions"]) ~ div .status-actions[href^="${location.origin}"]:not(.rgh-bypass-link)`, // Hovercard status checks
  + 'a:not([href="/apps/github-actions"]) ~ div .status-actions[href^="/"]:not(.rgh-bypass-link)'
  + ].join();
  - // If anything errors, RGH will display the error next to the feature name
  - await Promise.all(thirdPartyApps.map(bypass));
  + observe(thirdPartyApps, {
  + constructor: HTMLAnchorElement,
  + add(thirdPartyApp) {
  + thirdPartyApp.classList.add('rgh-bypass-link');
  + void bypass(thirdPartyApp);
  + }
  + });
  }
  void features.add({
  @@ -31,5 +40,5 @@ void features.add({
  include: [
  pageDetect.isPRConversation
  ],
  - init
  + init: onetime(init)
  });
  