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:
@ -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