You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|Configure Scala Steward for your repository with a [`${RepoConfigAlg.repoConfigBasename}`](${org.scalasteward.core.BuildInfo.gitHubUrl}/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
99
104
|
100
-
|Have a fantastic day writing Scala!
105
+
|_Have a fantastic day writing Scala!_
101
106
|
102
107
|${details.map(_.toHtml).mkString("\n")}
103
108
|
109
+
|<sup>
104
110
|${labels.mkString("labels: ", ", ", "")}
111
+
|</sup>
105
112
|""".stripMargin.trim
106
113
}
107
114
@@ -120,6 +127,17 @@ object NewPullRequestData {
120
127
deffromTo(update: Update.Single):String=
121
128
s"from ${update.currentVersion} to ${update.nextVersion}"
Copy file name to clipboardExpand all lines: modules/core/src/test/scala/org/scalasteward/core/forge/data/NewPullRequestDataTest.scala
+52-36Lines changed: 52 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,8 @@ class NewPullRequestDataTest extends FunSuite {
28
28
labels =List("library-update")
29
29
)
30
30
valexpected=
31
-
s"""|Updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3.
31
+
s"""|## Update _ch.qos.logback:logback-classic_
32
+
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
32
33
|
33
34
|
34
35
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -37,10 +38,10 @@ class NewPullRequestDataTest extends FunSuite {
37
38
|
38
39
|Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
46
47
|```
@@ -55,7 +56,9 @@ class NewPullRequestDataTest extends FunSuite {
55
56
|```
56
57
|</details>
57
58
|
58
-
|labels: library-update""".stripMargin
59
+
|<sup>
60
+
|labels: library-update
61
+
|</sup>""".stripMargin
59
62
60
63
assertEquals(body, expected)
61
64
}
@@ -83,7 +86,8 @@ class NewPullRequestDataTest extends FunSuite {
83
86
labels =List("library-update")
84
87
)
85
88
valexpected=
86
-
s"""|Updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3.
89
+
s"""|## Update _ch.qos.logback:logback-classic_
90
+
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
87
91
|
88
92
|
89
93
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -92,16 +96,16 @@ class NewPullRequestDataTest extends FunSuite {
92
96
|
93
97
|Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
|Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
107
111
|```
@@ -116,7 +120,9 @@ class NewPullRequestDataTest extends FunSuite {
116
120
|```
117
121
|</details>
118
122
|
119
-
|labels: library-update""".stripMargin
123
+
|<sup>
124
+
|labels: library-update
125
+
|</sup>""".stripMargin
120
126
121
127
assertEquals(body, expected)
122
128
}
@@ -136,10 +142,10 @@ class NewPullRequestDataTest extends FunSuite {
136
142
labels =List("library-update")
137
143
)
138
144
valexpected=
139
-
s"""|Updates:
145
+
s"""|## Updates:
140
146
|
141
-
|* ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
142
-
|* com.example:foo from 1.0.0 to 2.0.0
147
+
|* :package: ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
148
+
|* :package: com.example:foo from 1.0.0 to 2.0.0 :warning:
143
149
|
144
150
|
145
151
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -148,10 +154,10 @@ class NewPullRequestDataTest extends FunSuite {
148
154
|
149
155
|Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
|Add these to your `.scala-steward.conf` file to ignore future updates of these dependencies:
157
163
|```
@@ -175,7 +181,9 @@ class NewPullRequestDataTest extends FunSuite {
175
181
|```
176
182
|</details>
177
183
|
178
-
|labels: library-update""".stripMargin
184
+
|<sup>
185
+
|labels: library-update
186
+
|</sup>""".stripMargin
179
187
180
188
assertEquals(body, expected)
181
189
}
@@ -193,7 +201,8 @@ class NewPullRequestDataTest extends FunSuite {
193
201
labels =List("library-update")
194
202
)
195
203
valexpected=
196
-
s"""|Updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3.
204
+
s"""|## Update _ch.qos.logback:logback-classic_
205
+
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
197
206
|
198
207
|
199
208
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -202,10 +211,10 @@ class NewPullRequestDataTest extends FunSuite {
202
211
|
203
212
|Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
|Add these to your `.scala-steward.conf` file to ignore future updates of these dependencies:
535
546
|```
@@ -576,7 +587,8 @@ class NewPullRequestDataTest extends FunSuite {
576
587
)
577
588
578
589
valexpectedBody=
579
-
s"""|Updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3.
590
+
s"""|## Update _ch.qos.logback:logback-classic_
591
+
|:package: updates ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
580
592
|
581
593
|
582
594
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -585,10 +597,10 @@ class NewPullRequestDataTest extends FunSuite {
585
597
|
586
598
|Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
@@ -647,10 +661,10 @@ class NewPullRequestDataTest extends FunSuite {
647
661
)
648
662
649
663
valexpectedBody=
650
-
s"""|Updates:
664
+
s"""|## Updates:
651
665
|
652
-
|* ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
653
-
|* com.example:foo from 1.0.0 to 2.0.0
666
+
|* :package: ch.qos.logback:logback-classic from 1.2.0 to 1.2.3
667
+
|* :package: com.example:foo from 1.0.0 to 2.0.0 :warning:
654
668
|
655
669
|
656
670
|I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
@@ -659,10 +673,10 @@ class NewPullRequestDataTest extends FunSuite {
659
673
|
660
674
|Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/${org.scalasteward.core.BuildInfo.gitHeadCommit}/docs/repo-specific-configuration.md) file.
0 commit comments