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 authored and GitHub committed 2022-05-08 17:37:36 +09:00
1 parent af7c021bb9
commit f094b77505
5 files changed
+3926 -1699

No files matched your search

+1 -1
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 {