Subject of the issue
We have a reprository named "ungit" https://github.com/FredrikNoren/ungit and after updating the create-pull-request action to v4 it does not work anymore and reports "Error: Not Found". See https://github.com/campersau/ungit/actions/runs/3103556378/jobs/5027017692#step:7:111
I think the issue is that in #1153 the .git suffix is ignored, but the regex is wrong as it does not escape the ..
Steps to reproduce
Use the create-pull-request action with a repository which name ends in Xgit
I added some more logging in my own fork and you can see that the "ngit" suffix is missing:
Attempting creation of pull request {
"owner": "campersau",
"repo": "u", // <---------------- missing "ngit"
"title": "Bump Dependencies",
"head": "campersau:bumpdependencies",
"base": "master",
"body": "...",
"draft": false
}
Subject of the issue
We have a reprository named "ungit" https://github.com/FredrikNoren/ungit and after updating the
create-pull-requestaction to v4 it does not work anymore and reports "Error: Not Found". See https://github.com/campersau/ungit/actions/runs/3103556378/jobs/5027017692#step:7:111I think the issue is that in #1153 the
.gitsuffix is ignored, but the regex is wrong as it does not escape the..Steps to reproduce
Use the create-pull-request action with a repository which name ends in Xgit
I added some more logging in my own fork and you can see that the "ngit" suffix is missing: