Repository: scala-steward-org/scala-steward (scala)

Issue:
Wrong targetRefName when create azure-repo PullRequestPayload
configured repo was like $owner/$repo:develop, other functionality was running fine, but when Steward trying to create a PR, it gets
```json
{
        "$id": "1",
        "errorCode": 0,
        "eventId": 3000,
        "innerException": null,
        "message": "TF401398: The pull request cannot be activated because the source and/or the target branch no longer exists, or the requested refs are not branches",
        "typeKey": "GitPullRequestCannotBeActivated",
        "typeName": "Microsoft.TeamFoundation.Git.Server.GitPullRequestCannotBeActivated, Microsoft.TeamFoundation.Git.Server"
}
```

after investigation, it seems the `targetRefName` was `develop` instead of `refs/head/develop`, also it appears in both tests and [Azure repo API docs](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/create?view=azure-devops-rest-4.1&tabs=HTTP#examples), it should be `refs/head/develop`.

Is this due to something changed in `NewPullRequestData.base.name`, or AzureRepos changed their API?

Pull request description:
#3348

Patch:
diff --git a/modules/core/src/main/scala/org/scalasteward/core/forge/azurerepos/JsonCodec.scala b/modules/core/src/main/scala/org/scalasteward/core/forge/azurerepos/JsonCodec.scala
index 8be29111d8..91539d9bd8 100644
--- a/modules/core/src/main/scala/org/scalasteward/core/forge/azurerepos/JsonCodec.scala
+++ b/modules/core/src/main/scala/org/scalasteward/core/forge/azurerepos/JsonCodec.scala
@@ -38,7 +38,7 @@ private[azurerepos] object PullRequestPayload {
   def from(data: NewPullRequestData): PullRequestPayload =
     PullRequestPayload(
       sourceRefName = withPrefix(data.head),
-      targetRefName = data.base.name,
+      targetRefName = withPrefix(data.base.name),
       title = data.title,
       labels = Option.when(data.labels.nonEmpty)(data.labels),
       description = data.body


Test patch:
diff --git a/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/AzureReposApiAlgTest.scala b/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/AzureReposApiAlgTest.scala
index c30d67fde7..5b486f164f 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/AzureReposApiAlgTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/AzureReposApiAlgTest.scala
@@ -209,7 +209,7 @@ class AzureReposApiAlgTest extends CatsEffectSuite with Http4sDsl[MockEff] {
           title = "Update cats-effect to 3.3.14",
           body = "Updates org.typelevel:cats-effect  from 3.3.13 to 3.3.14.",
           head = "refs/heads/update/cats-effect-3.3.14",
-          base = Branch("refs/heads/main"),
+          base = Branch("main"),
           labels = List.empty,
           assignees = List.empty,
           reviewers = List.empty
diff --git a/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/JsonCodecTest.scala b/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/JsonCodecTest.scala
index 07ae4ee6fc..8c39f59f9b 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/JsonCodecTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/forge/azurerepos/JsonCodecTest.scala
@@ -24,7 +24,7 @@ class JsonCodecTest extends FunSuite {
     val expected =
       json"""{
                "sourceRefName" : "refs/heads/source",
-               "targetRefName" : "main",
+               "targetRefName" : "refs/heads/main",
                "title" : "Test MR title",
                "labels" : null,
                "description" : "Test MR body"
@@ -38,7 +38,7 @@ class JsonCodecTest extends FunSuite {
     val expected =
       json"""{
                "sourceRefName" : "refs/heads/source",
-               "targetRefName" : "main",
+               "targetRefName" : "refs/heads/main",
                "title" : "Test MR title",
                "labels" : [ "foo", "bar" ],
                "description" : "Test MR body"