const GITHUB_PR_URL_REGEX = /(? `[#${prNumber}](https://github.com/openfrontio/OpenFrontIO/pull/${prNumber})`, ) .replace( GITHUB_COMPARE_URL_REGEX, (_match, comparison) => `[${comparison}](https://github.com/openfrontio/OpenFrontIO/compare/${comparison})`, ) .replace( GITHUB_MENTION_REGEX, (_match, prefix, username) => `${prefix}[@${username}](https://github.com/${username})`, ) ); }