@oss-autopilot/core - v3.42.2
    Preparing search index...

    Function issueRefKey

    • Case-insensitive identity of a GitHub issue or PR URL: owner/repo#number, lowercased. Trailing slashes, #fragments and ?querys fall away because only the path segments are read, and /issues/N and /pull/N map to the same key: a repo has one number space, so a bare #N mention names the same object whichever kind it is. Returns null when the URL does not parse (see parseGitHubUrl).

      Parameters

      • url: string

      Returns string | null

      issueRefKey('https://github.com/Org/Repo/issues/5/')
      // "org/repo#5"