Deprecate TRAP cache cleanup

This commit is contained in:
Henry Mercer
2026-04-01 15:29:02 +01:00
parent 57ec7e1000
commit 36075a4980
3 changed files with 8 additions and 0 deletions
+3
View File
@@ -108725,6 +108725,9 @@ async function cleanupTrapCaches(config, features, logger) {
trap_cache_cleanup_skipped_because: "feature disabled"
};
}
logger.warning(
"TRAP cache cleanup is deprecated and will be removed in May 2026. We recommend instead disabling TRAP caching by passing the `trap-caching: false` input to the `init` Action."
);
if (!await isAnalyzingDefaultBranch()) {
return {
trap_cache_cleanup_skipped_because: "not analyzing default branch"