fix: avoid issue with case sensitivity of repo names (#1179)

* fix: avoid issue with case sensitivity in condition

* chore: upgrade jest to v28
This commit is contained in:
Peter Evans 2022-05-08 17:37:36 +09:00 committed by GitHub
parent af7c021bb9
commit f094b77505
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3926 additions and 1699 deletions

View file

@ -67,7 +67,7 @@ export class GitHubHelper {
} catch (e: any) {
if (
e.message &&
e.message.includes(`A pull request already exists for ${headBranch}`)
e.message.includes(`A pull request already exists for`)
) {
core.info(`A pull request already exists for ${headBranch}`)
} else {