diff --git a/src/unsafe-pr-checkout-helper.ts b/src/unsafe-pr-checkout-helper.ts index 3e956f3..9d4c0d5 100644 --- a/src/unsafe-pr-checkout-helper.ts +++ b/src/unsafe-pr-checkout-helper.ts @@ -58,8 +58,7 @@ export function assertSafePrCheckout(input: IUnsafePrCheckoutInput): void { // if the resolved input points to the fork PR sha we have in the payload const repositoryMatchesPrHead = typeof prHeadRepoFullName === 'string' && - input.qualifiedRepository.toLowerCase() === - prHeadRepoFullName.toLowerCase() + input.qualifiedRepository.toLowerCase() === prHeadRepoFullName.toLowerCase() const refMatchesPullPattern = PR_REF_PATTERN.test(input.ref) const commitMatchesPrHeadSha = !!input.commit && prShas.includes(input.commit.toLowerCase())