Skip to content

Commit

Permalink
Test other messages with markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Jun 27, 2024
1 parent 76263e0 commit 69953f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dangerfile.df.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ import systems.danger.kotlin.models.github.GitHubIssueLabel
danger(args) {
if (git.modifiedFiles.any { it.contains("json-schema-validator/api/") }) {
markdown(
"## PR introduces changes to the public API<br/>\n" +
"## PR introduces changes to the public API\n" +
"Please add **\"ABI breaking\"** label if **any line** in API file was changed or deleted.<br/>" +
"Please add **\"API breaking\"** label if **any public method** in API file was changed or deleted.",
)
}
warn("test warning")
message("test message")
fail("test fail")
onGitHub {
val prLabels = issue.labels
checkPrLabels(prLabels)
Expand Down

0 comments on commit 69953f7

Please sign in to comment.