@@ -49,6 +49,11 @@ import kotlin.collections.toTypedArray
4949 * @param handleNoReportsFound Raise no exceptions when no coverage reports found
5050 * @param jobCode The job code
5151 * @param name User defined upload name. Visible in Codecov UI
52+ * @param networkFilter Specify a filter on the files listed in the network section of the Codecov
53+ * report. This will only add files whose path begin with the specified filter. Useful for
54+ * upload-specific path fixing
55+ * @param networkPrefix Specify a prefix on files listed in the network section of the Codecov
56+ * report. Useful to help resolve path fixing
5257 * @param os Override the assumed OS. Options are linux | macos | windows.
5358 * @param overrideBranch Specify the branch name
5459 * @param overrideBuild Specify the build number
@@ -63,6 +68,7 @@ import kotlin.collections.toTypedArray
6368 * @param slug Specify the slug manually (Enterprise use)
6469 * @param url Specify the base url to upload (Enterprise use)
6570 * @param useLegacyUploadEndpoint Use the legacy upload endpoint
71+ * @param useOidc Use OIDC instead of token. This will ignore any token supplied
6672 * @param verbose Specify whether the Codecov output should be verbose
6773 * @param version Specify which version of the Codecov CLI should be used. Defaults to `latest`
6874 * @param workingDirectory Directory in which to execute codecov.sh
@@ -145,6 +151,17 @@ public data class CodecovActionV4 private constructor(
145151 * User defined upload name. Visible in Codecov UI
146152 */
147153 public val name : String? = null ,
154+ /* *
155+ * Specify a filter on the files listed in the network section of the Codecov report. This will
156+ * only add files whose path begin with the specified filter. Useful for upload-specific path
157+ * fixing
158+ */
159+ public val networkFilter : String? = null ,
160+ /* *
161+ * Specify a prefix on files listed in the network section of the Codecov report. Useful to help
162+ * resolve path fixing
163+ */
164+ public val networkPrefix : String? = null ,
148165 /* *
149166 * Override the assumed OS. Options are linux | macos | windows.
150167 */
@@ -197,6 +214,10 @@ public data class CodecovActionV4 private constructor(
197214 * Use the legacy upload endpoint
198215 */
199216 public val useLegacyUploadEndpoint : Boolean? = null ,
217+ /* *
218+ * Use OIDC instead of token. This will ignore any token supplied
219+ */
220+ public val useOidc : Boolean? = null ,
200221 /* *
201222 * Specify whether the Codecov output should be verbose
202223 */
@@ -239,6 +260,8 @@ public data class CodecovActionV4 private constructor(
239260 handleNoReportsFound: Boolean? = null ,
240261 jobCode: String? = null ,
241262 name: String? = null ,
263+ networkFilter: String? = null ,
264+ networkPrefix: String? = null ,
242265 os: CodecovActionV4 .OperatingSystem ? = null ,
243266 overrideBranch: String? = null ,
244267 overrideBuild: String? = null ,
@@ -252,6 +275,7 @@ public data class CodecovActionV4 private constructor(
252275 slug: String? = null ,
253276 url: String? = null ,
254277 useLegacyUploadEndpoint: Boolean? = null ,
278+ useOidc: Boolean? = null ,
255279 verbose: Boolean? = null ,
256280 version: String? = null ,
257281 workingDirectory: String? = null ,
@@ -262,12 +286,13 @@ public data class CodecovActionV4 private constructor(
262286 disableSafeDirectory= disableSafeDirectory, dryRun= dryRun, envVars= envVars,
263287 exclude= exclude, failCiIfError= failCiIfError, `file`= `file`, files= files, flags= flags,
264288 gitService= gitService, handleNoReportsFound= handleNoReportsFound, jobCode= jobCode,
265- name= name, os= os, overrideBranch= overrideBranch, overrideBuild= overrideBuild,
289+ name= name, networkFilter= networkFilter, networkPrefix= networkPrefix, os= os,
290+ overrideBranch= overrideBranch, overrideBuild= overrideBuild,
266291 overrideBuildUrl= overrideBuildUrl, overrideCommit= overrideCommit, overridePr= overridePr,
267292 plugin= plugin, plugins= plugins, reportCode= reportCode, rootDir= rootDir, slug= slug,
268- url= url, useLegacyUploadEndpoint= useLegacyUploadEndpoint, verbose = verbose ,
269- version= version, workingDirectory= workingDirectory, _customInputs = _customInputs ,
270- _customVersion = _customVersion )
293+ url= url, useLegacyUploadEndpoint= useLegacyUploadEndpoint, useOidc = useOidc ,
294+ verbose = verbose, version= version, workingDirectory= workingDirectory,
295+ _customInputs = _customInputs , _customVersion = _customVersion )
271296
272297 @Suppress(" SpreadOperator" )
273298 override fun toYamlArguments (): LinkedHashMap <String , String > = linkedMapOf(
@@ -290,6 +315,8 @@ public data class CodecovActionV4 private constructor(
290315 handleNoReportsFound?.let { " handle_no_reports_found" to it.toString() },
291316 jobCode?.let { " job_code" to it },
292317 name?.let { " name" to it },
318+ networkFilter?.let { " network_filter" to it },
319+ networkPrefix?.let { " network_prefix" to it },
293320 os?.let { " os" to it.stringValue },
294321 overrideBranch?.let { " override_branch" to it },
295322 overrideBuild?.let { " override_build" to it },
@@ -303,6 +330,7 @@ public data class CodecovActionV4 private constructor(
303330 slug?.let { " slug" to it },
304331 url?.let { " url" to it },
305332 useLegacyUploadEndpoint?.let { " use_legacy_upload_endpoint" to it.toString() },
333+ useOidc?.let { " use_oidc" to it.toString() },
306334 verbose?.let { " verbose" to it.toString() },
307335 version?.let { " version" to it },
308336 workingDirectory?.let { " working-directory" to it },
0 commit comments