Skip to content

Commit 3205c43

Browse files
feat(actions): update mi-kas/kover-report@v1 (#1218)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 56c532e commit 3205c43

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aedeaa4ded293f77eecaafc4a213d627b6b97894
1+
0befa22b2291fedc1eefd9ff8f9d5e3a9412168c

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/mikas/KoverReportV1.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public data class KoverReportV1 private constructor(
3636
/**
3737
* Github personal token to add commits to the pull request
3838
*/
39-
public val token: String,
39+
public val token: String? = null,
4040
/**
4141
* Title for the pull request comment
4242
*/
@@ -70,7 +70,7 @@ public data class KoverReportV1 private constructor(
7070
public constructor(
7171
vararg pleaseUseNamedArguments: Unit,
7272
path: List<String>,
73-
token: String,
73+
token: String? = null,
7474
title: String? = null,
7575
updateComment: Boolean? = null,
7676
minCoverageOverall: Int? = null,
@@ -87,7 +87,7 @@ public data class KoverReportV1 private constructor(
8787
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
8888
*listOfNotNull(
8989
"path" to path.joinToString("\n"),
90-
"token" to token,
90+
token?.let { "token" to it },
9191
title?.let { "title" to it },
9292
updateComment?.let { "update-comment" to it.toString() },
9393
minCoverageOverall?.let { "min-coverage-overall" to it.toString() },

0 commit comments

Comments
 (0)