You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Warn at warning level so the size is visible even without verbose mode
401
406
core.warning(patchSizeMessage);
@@ -409,7 +414,7 @@ async function main() {
409
414
}
410
415
core.setOutput("patch_size_exceeded","true");
411
416
core.setFailed(
412
-
`Patch size (${patchSizeKb} KB, ${patchSizeBytes} bytes) exceeds maximum allowed size (${effectiveMaxPatchSizeKb} KB, ${effectiveMaxPatchSize} bytes, configured limit: ${maxPatchSizeKb} KB with 20% overhead allowance). Reduce the number or size of changes, or increase max-patch-size.`
417
+
`Patch additions size (${patchSizeKb} KB, ${patchSizeBytes} bytes) exceeds maximum allowed size (${effectiveMaxPatchSizeKb} KB, ${effectiveMaxPatchSize} bytes, configured limit: ${maxPatchSizeKb} KB with 20% overhead allowance). Reduce the number or size of changes, or increase max-patch-size.`
413
418
);
414
419
return;
415
420
}elseif(patchSizeBytes>maxPatchSize){
@@ -419,7 +424,7 @@ async function main() {
419
424
core.info(patchSizeMessage);
420
425
}
421
426
}catch(error){
422
-
core.setFailed(`Failed to compute patch size: ${getErrorMessage(error)}`);
427
+
core.setFailed(`Failed to compute patch additions size: ${getErrorMessage(error)}`);
0 commit comments