mirror of
https://github.com/peter-evans/create-pull-request.git
synced 2026-12-05 05:02:57 +00:00
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:
1 parent
af7c021bb9
commit
f094b77505
5 files changed
+3926
-1699
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user