Skip to content

Commit

Permalink
feat(actions): update mi-kas/kover-report@v1 (#1218)
Browse files Browse the repository at this point in the history
Created automatically.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Jan 4, 2024
1 parent 56c532e commit 3205c43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion actions/mi-kas/kover-report/v1/commit-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aedeaa4ded293f77eecaafc4a213d627b6b97894
0befa22b2291fedc1eefd9ff8f9d5e3a9412168c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public data class KoverReportV1 private constructor(
/**
* Github personal token to add commits to the pull request
*/
public val token: String,
public val token: String? = null,
/**
* Title for the pull request comment
*/
Expand Down Expand Up @@ -70,7 +70,7 @@ public data class KoverReportV1 private constructor(
public constructor(
vararg pleaseUseNamedArguments: Unit,
path: List<String>,
token: String,
token: String? = null,
title: String? = null,
updateComment: Boolean? = null,
minCoverageOverall: Int? = null,
Expand All @@ -87,7 +87,7 @@ public data class KoverReportV1 private constructor(
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
*listOfNotNull(
"path" to path.joinToString("\n"),
"token" to token,
token?.let { "token" to it },
title?.let { "title" to it },
updateComment?.let { "update-comment" to it.toString() },
minCoverageOverall?.let { "min-coverage-overall" to it.toString() },
Expand Down

0 comments on commit 3205c43

Please sign in to comment.