mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01: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:
parent
af7c021bb9
commit
f094b77505
5 changed files with 3926 additions and 1699 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue