File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
actions/mi-kas/kover-report/v1
github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/mikas Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- aedeaa4ded293f77eecaafc4a213d627b6b97894
1+ 0befa22b2291fedc1eefd9ff8f9d5e3a9412168c
Original file line number Diff line number Diff 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() },
You can’t perform that action at this time.
0 commit comments