Closed ssam005 closed 3 years ago
Hi @ssam005, good catch! I didn't think about this scenario. I will fix it soon :)
@ssam005 I think I solved it :) can you check now?
Sure. Do I need to update the extension in azure first, or is there another way to test it?
By default it's updated automatically, so you can just run the pipeline :)
It worked!! Thanks.
FYI it took about a day before it updated.
Steps to reproduce:
A PR will be created for main -> branch1/main there will be a message in the log that branch2/main doesn't require a pull request. then the job is completed successfully.
the exit 0 in the line below is what I think the problem is, but I don't know how to test this stuff.
https://github.com/shayki5/azure-devops-create-pr-task/blob/2f8d8f9a75491c895f7e3f73c7ce0df19790430b/task/createPullRequest.ps1#L440