Skip to content

Commit bef9b42

Browse files
feat(actions): update codecov/codecov-action@v4 (#1291)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent dce81ea commit bef9b42

File tree

2 files changed

+32
-19
lines changed

2 files changed

+32
-19
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e0b68c6749509c5f83f984dd99a76a1c1a231044
1+
54bcd8715eee62d40e33596ef5e8f0f48dbbccab

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/codecov/CodecovActionV4.kt

Lines changed: 31 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ import kotlin.collections.toTypedArray
2828
*
2929
* [Action on GitHub](https://github.com/codecov/codecov-action)
3030
*
31-
* @param token Repository upload token - get it from codecov.io. Required only for private
32-
* repositories
31+
* @param token Repository Codecov token. Used to authorize report uploads
3332
* @param codecovYmlPath Specify the path to the Codecov YML
3433
* @param commitParent Override to specify the parent commit SHA
3534
* @param directory Directory to search for coverage reports.
36-
* @param disableSearch Disable search for coverage files. This is helpful when specifying what
37-
* files you want to upload with the --file option.
3835
* @param disableFileFixes Disable file fixes to ignore common lines from coverage (e.g. blank lines
3936
* or empty brackets)
37+
* @param disableSearch Disable search for coverage files. This is helpful when specifying what
38+
* files you want to upload with the --file option.
39+
* @param disableSafeDirectory Disable setting safe directory. Set to true to disable.
4040
* @param dryRun Don't upload files to Codecov
4141
* @param envVars Environment variables to tag the upload with (e.g. PYTHON | OS,PYTHON)
4242
* @param exclude Folders to exclude from search
@@ -45,6 +45,7 @@ import kotlin.collections.toTypedArray
4545
* @param file Path to coverage file to upload
4646
* @param files Comma-separated list of files to upload
4747
* @param flags Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)
48+
* @param gitService Override the git_service (e.g. github_enterprise)
4849
* @param handleNoReportsFound Raise no exceptions when no coverage reports found
4950
* @param jobCode The job code
5051
* @param name User defined upload name. Visible in Codecov UI
@@ -72,7 +73,7 @@ import kotlin.collections.toTypedArray
7273
*/
7374
public data class CodecovActionV4 private constructor(
7475
/**
75-
* Repository upload token - get it from codecov.io. Required only for private repositories
76+
* Repository Codecov token. Used to authorize report uploads
7677
*/
7778
public val token: String? = null,
7879
/**
@@ -87,15 +88,19 @@ public data class CodecovActionV4 private constructor(
8788
* Directory to search for coverage reports.
8889
*/
8990
public val directory: String? = null,
91+
/**
92+
* Disable file fixes to ignore common lines from coverage (e.g. blank lines or empty brackets)
93+
*/
94+
public val disableFileFixes: Boolean? = null,
9095
/**
9196
* Disable search for coverage files. This is helpful when specifying what files you want to
9297
* upload with the --file option.
9398
*/
9499
public val disableSearch: Boolean? = null,
95100
/**
96-
* Disable file fixes to ignore common lines from coverage (e.g. blank lines or empty brackets)
101+
* Disable setting safe directory. Set to true to disable.
97102
*/
98-
public val disableFileFixes: Boolean? = null,
103+
public val disableSafeDirectory: Boolean? = null,
99104
/**
100105
* Don't upload files to Codecov
101106
*/
@@ -124,6 +129,10 @@ public data class CodecovActionV4 private constructor(
124129
* Flag upload to group coverage metrics (e.g. unittests | integration | ui,chrome)
125130
*/
126131
public val flags: List<String>? = null,
132+
/**
133+
* Override the git_service (e.g. github_enterprise)
134+
*/
135+
public val gitService: String? = null,
127136
/**
128137
* Raise no exceptions when no coverage reports found
129138
*/
@@ -216,15 +225,17 @@ public data class CodecovActionV4 private constructor(
216225
codecovYmlPath: String? = null,
217226
commitParent: String? = null,
218227
directory: String? = null,
219-
disableSearch: Boolean? = null,
220228
disableFileFixes: Boolean? = null,
229+
disableSearch: Boolean? = null,
230+
disableSafeDirectory: Boolean? = null,
221231
dryRun: Boolean? = null,
222232
envVars: List<String>? = null,
223233
exclude: List<String>? = null,
224234
failCiIfError: Boolean? = null,
225235
`file`: String? = null,
226236
files: List<String>? = null,
227237
flags: List<String>? = null,
238+
gitService: String? = null,
228239
handleNoReportsFound: Boolean? = null,
229240
jobCode: String? = null,
230241
name: String? = null,
@@ -247,15 +258,15 @@ public data class CodecovActionV4 private constructor(
247258
_customInputs: Map<String, String> = mapOf(),
248259
_customVersion: String? = null,
249260
) : this(token=token, codecovYmlPath=codecovYmlPath, commitParent=commitParent,
250-
directory=directory, disableSearch=disableSearch, disableFileFixes=disableFileFixes,
251-
dryRun=dryRun, envVars=envVars, exclude=exclude, failCiIfError=failCiIfError,
252-
`file`=`file`, files=files, flags=flags, handleNoReportsFound=handleNoReportsFound,
253-
jobCode=jobCode, name=name, os=os, overrideBranch=overrideBranch,
254-
overrideBuild=overrideBuild, overrideBuildUrl=overrideBuildUrl,
255-
overrideCommit=overrideCommit, overridePr=overridePr, plugin=plugin, plugins=plugins,
256-
reportCode=reportCode, rootDir=rootDir, slug=slug, url=url,
257-
useLegacyUploadEndpoint=useLegacyUploadEndpoint, verbose=verbose, version=version,
258-
workingDirectory=workingDirectory, _customInputs=_customInputs,
261+
directory=directory, disableFileFixes=disableFileFixes, disableSearch=disableSearch,
262+
disableSafeDirectory=disableSafeDirectory, dryRun=dryRun, envVars=envVars,
263+
exclude=exclude, failCiIfError=failCiIfError, `file`=`file`, files=files, flags=flags,
264+
gitService=gitService, handleNoReportsFound=handleNoReportsFound, jobCode=jobCode,
265+
name=name, os=os, overrideBranch=overrideBranch, overrideBuild=overrideBuild,
266+
overrideBuildUrl=overrideBuildUrl, overrideCommit=overrideCommit, overridePr=overridePr,
267+
plugin=plugin, plugins=plugins, reportCode=reportCode, rootDir=rootDir, slug=slug,
268+
url=url, useLegacyUploadEndpoint=useLegacyUploadEndpoint, verbose=verbose,
269+
version=version, workingDirectory=workingDirectory, _customInputs=_customInputs,
259270
_customVersion=_customVersion)
260271

261272
@Suppress("SpreadOperator")
@@ -265,15 +276,17 @@ public data class CodecovActionV4 private constructor(
265276
codecovYmlPath?.let { "codecov_yml_path" to it },
266277
commitParent?.let { "commit_parent" to it },
267278
directory?.let { "directory" to it },
268-
disableSearch?.let { "disable_search" to it.toString() },
269279
disableFileFixes?.let { "disable_file_fixes" to it.toString() },
280+
disableSearch?.let { "disable_search" to it.toString() },
281+
disableSafeDirectory?.let { "disable_safe_directory" to it.toString() },
270282
dryRun?.let { "dry_run" to it.toString() },
271283
envVars?.let { "env_vars" to it.joinToString(",") },
272284
exclude?.let { "exclude" to it.joinToString(",") },
273285
failCiIfError?.let { "fail_ci_if_error" to it.toString() },
274286
`file`?.let { "file" to it },
275287
files?.let { "files" to it.joinToString(",") },
276288
flags?.let { "flags" to it.joinToString(",") },
289+
gitService?.let { "git_service" to it },
277290
handleNoReportsFound?.let { "handle_no_reports_found" to it.toString() },
278291
jobCode?.let { "job_code" to it },
279292
name?.let { "name" to it },

0 commit comments

Comments
 (0)