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

Issue:
Add link to .scala-steward.conf documentation to PRs
Recent PRs enhanced the capabilities of repo specific configuration via `.scala-steward.conf` (#1274, #1254, #1330, #1336). To increase the discoverability of these features, we could link to the [`.scala-steward.conf` documentation](https://github.com/fthomas/scala-steward/blob/master/docs/repo-specific-configuration.md) in PR bodies.

Pull request:
Addresses #1340 

 - I also changed the title of Ignore future updates section because we can use that part for repo specific conf examples

Patch:
diff --git a/build.sbt b/build.sbt
index 9de5afdbe3..faa5396ba7 100644
--- a/build.sbt
+++ b/build.sbt
@@ -78,7 +78,13 @@ lazy val core = myCrossProject("core")
           defaultStrategy(otherwise)
       }
     },
-    buildInfoKeys := Seq[BuildInfoKey](version, scalaVersion, scalaBinaryVersion, sbtVersion),
+    buildInfoKeys := Seq[BuildInfoKey](
+      version,
+      scalaVersion,
+      scalaBinaryVersion,
+      sbtVersion,
+      BuildInfoKey.map(git.gitHeadCommit) { case (k, v) => k -> v.getOrElse("master") }
+    ),
     buildInfoPackage := moduleRootPkg.value,
     initialCommands += s"""
       import ${moduleRootPkg.value}._
diff --git a/modules/core/src/main/scala/org/scalasteward/core/vcs/data/NewPullRequestData.scala b/modules/core/src/main/scala/org/scalasteward/core/vcs/data/NewPullRequestData.scala
index 09f0cfb7a3..09225c0d43 100644
--- a/modules/core/src/main/scala/org/scalasteward/core/vcs/data/NewPullRequestData.scala
+++ b/modules/core/src/main/scala/org/scalasteward/core/vcs/data/NewPullRequestData.scala
@@ -20,6 +20,7 @@ import cats.implicits._
 import io.circe.Encoder
 import io.circe.generic.semiauto._
 import org.http4s.Uri
+import org.scalasteward.core.BuildInfo
 import org.scalasteward.core.data.{GroupId, ReleaseRelatedUrl, SemVer, Update}
 import org.scalasteward.core.git
 import org.scalasteward.core.git.Branch
@@ -58,6 +59,8 @@ object NewPullRequestData {
         |
         |If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
         |
+        |Configure Scala Steward for your repository with a [`${RepoConfigAlg.repoConfigBasename}`](https://github.com/fthomas/scala-steward/blob/${BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
+        |
         |Have a fantastic day writing Scala!
         |
         |${details.map(_.toHtml).mkString("\n")}


Test patch:
diff --git a/modules/core/src/test/scala/org/scalasteward/core/vcs/data/NewPullRequestDataTest.scala b/modules/core/src/test/scala/org/scalasteward/core/vcs/data/NewPullRequestDataTest.scala
index f58d68dd96..0bc3c81749 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/vcs/data/NewPullRequestDataTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/vcs/data/NewPullRequestDataTest.scala
@@ -2,6 +2,7 @@ package org.scalasteward.core.vcs.data
 
 import io.circe.syntax._
 import org.http4s.syntax.literals._
+import org.scalasteward.core.BuildInfo
 import org.scalasteward.core.TestSyntax._
 import org.scalasteward.core.data.{ReleaseRelatedUrl, Update, Version}
 import org.scalasteward.core.git.{Branch, Sha1}
@@ -28,13 +29,12 @@ class NewPullRequestDataTest extends AnyFunSuite with Matchers {
       .from(data, "scala-steward:update/logback-classic-1.2.3")
       .asJson
       .spaces2 shouldBe
-      """|{
-         |  "title" : "Update logback-classic to 1.2.3",
-         |  "body" : "Updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3.\n\n\nI'll automatically update this PR to resolve conflicts as long as you don't change it yourself.\n\nIf you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.\n\nHave a fantastic day writing Scala!\n\n<details>\n<summary>Ignore future updates</summary>\n\nAdd this to your `.scala-steward.conf` file to ignore future updates of this dependency:\n```\nupdates.ignore = [ { groupId = \"ch.qos.logback\", artifactId = \"logback-classic\" } ]\n```\n</details>\n\nlabels: library-update, semver-patch",
-         |  "head" : "scala-steward:update/logback-classic-1.2.3",
-         |  "base" : "master"
-         |}
-         |""".stripMargin.trim
+      raw"""|{
+            |  "title" : "Update logback-classic to 1.2.3",
+            |  "body" : "Updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3.\n\n\nI'll automatically update this PR to resolve conflicts as long as you don't change it yourself.\n\nIf you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.\n\nConfigure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/fthomas/scala-steward/blob/${BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.\n\nHave a fantastic day writing Scala!\n\n<details>\n<summary>Ignore future updates</summary>\n\nAdd this to your `.scala-steward.conf` file to ignore future updates of this dependency:\n```\nupdates.ignore = [ { groupId = \"ch.qos.logback\", artifactId = \"logback-classic\" } ]\n```\n</details>\n\nlabels: library-update, semver-patch",
+            |  "head" : "scala-steward:update/logback-classic-1.2.3",
+            |  "base" : "master"
+            |}""".stripMargin
   }
 
   test("fromTo") {